Project Date
CLARO SCORE V3 06 Dec 2024, 13:17

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
claroscore/features/Funcionales.feature 8561 1 2 0 0 8564 482 1 483 16:17.906 Failed
Feature claroscore/features/Funcionales.feature
Evaluaciones de Claro Score V3 Funcionales
0.341
* url apiURL 0.003
13:12:56.853 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.116
* def requestBody = read('data/evaluations.json') 0.189
* def baseJson = read('data/base.json') 0.017
* def testCases = read('data/cases.json') 0.002
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.005
* requestBody.transaction_id = uuid 0.007
2.962
Scenario Outline Validate Bines Bancario con Regla
Steps
* def peticion = requestBody 0.024
* set peticion.client.email = dataGenerator.getRandomEmail() 0.775
* set peticion.payment_method.bin = "5943" 0.004
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 2.129
13:12:58.927 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a2670739-dfa7-4172-b2d5-2c4c41d843ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "murray59@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "5943",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:00.294 response time in milliseconds: 1347
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:10 GMT
1 < Content-Type: application/json
1 < Content-Length: 192
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:13:00",
  "timestamp": 1733512380,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "bin": "must be a valid Bin"
    }
  }
}


Then status 200 0.026
status code was: 400, expected: 200, response time in milliseconds: 1347, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:13:00","timestamp":1733512380,"message":"invalid transaction request","errors":{"payment_method":{"bin":"must be a valid Bin"}}}

classpath:claroscore/features/Funcionales.feature:24
13:13:00.343 classpath:claroscore/features/Funcionales.feature:24
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 1347, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:13:00","timestamp":1733512380,"message":"invalid transaction request","errors":{"payment_method":{"bin":"must be a valid Bin"}}}

classpath:claroscore/features/Funcionales.feature:24
* print 'Request:', karate.prevRequest 0.000
* print 'Response:', karate.prevResponse 0.000
0.368
* url apiURL 0.005
13:12:56.855 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.120
* def requestBody = read('data/evaluations.json') 0.190
* def baseJson = read('data/base.json') 0.024
* def testCases = read('data/cases.json') 0.002
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.002
* requestBody.transaction_id = uuid 0.022
5.378
* def peticion = requestBody 0.002
* set peticion.client.email = dataGenerator.getRandomEmail() 0.741
* set peticion.payment_method.bin = "877006" 0.023
Given path '/engine/evaluations' 0.002
And request peticion 0.001
When method POST 4.572
13:12:58.927 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3ae4214b-952f-4da3-9f8c-9c5aae965070",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kyong90@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "877006",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:02.727 response time in milliseconds: 3797
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:03",
  "timestamp": 1733512383,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3ae4214b-952f-4da3-9f8c-9c5aae965070",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335123809736840704986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.029
13:13:02.759 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7079c9aa",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.006
13:13:02.765 [print] Response: null 
0.359
* url apiURL 0.025
13:12:56.856 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.092
* def requestBody = read('data/evaluations.json') 0.204
* def baseJson = read('data/base.json') 0.005
* def testCases = read('data/cases.json') 0.011
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.011
* requestBody.transaction_id = uuid 0.007
5.167
* def peticion = requestBody 0.002
* set peticion.client.email = dataGenerator.getRandomEmail() 0.765
* set peticion.payment_method.bin = "574223" 0.004
Given path '/engine/evaluations' 0.002
And request peticion 0.000
When method POST 4.351
13:12:58.918 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "049835fb-e200-47d8-8c04-e4e9944b3ee9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "marcelino21@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "574223",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:02.497 response time in milliseconds: 3573
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:02",
  "timestamp": 1733512382,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "049835fb-e200-47d8-8c04-e4e9944b3ee9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335123808156235804988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.008
13:13:02.509 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7f6e045f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.032
13:13:02.541 [print] Response: null 
0.388
* url apiURL 0.003
13:12:56.854 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.143
* def requestBody = read('data/evaluations.json') 0.172
* def baseJson = read('data/base.json') 0.025
* def testCases = read('data/cases.json') 0.027
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.005
* requestBody.transaction_id = uuid 0.011
5.084
* def peticion = requestBody 0.002
* set peticion.client.email = dataGenerator.getRandomEmail() 0.737
* set peticion.payment_method.bin = "547714" 0.006
Given path '/engine/evaluations' 0.015
And request peticion 0.002
When method POST 4.280
13:12:58.919 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "84ac465c-84e9-4879-970c-c5a55a4d403b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "maurice12@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "547714",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:02.450 response time in milliseconds: 3526
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:02",
  "timestamp": 1733512382,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "84ac465c-84e9-4879-970c-c5a55a4d403b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123808316235904988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "BUSINESSCARD",
    "payment_information_account_issuer": "ISRAEL CREDIT CARDS LTD.",
    "risk_information_score": "92",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.011
13:13:02.466 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4192cb52",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.027
13:13:02.494 [print] Response: null 
0.364
* url apiURL 0.004
13:12:56.854 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.168
* def requestBody = read('data/evaluations.json') 0.139
* def baseJson = read('data/base.json') 0.018
* def testCases = read('data/cases.json') 0.009
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.021
* requestBody.transaction_id = uuid 0.001
5.376
* def peticion = requestBody 0.022
* set peticion.client.email = dataGenerator.getRandomEmail() 0.691
* set peticion.payment_method.bin = "474254" 0.017
Given path '/engine/evaluations' 0.003
And request peticion 0.000
When method POST 4.582
13:12:58.913 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3b407b75-5e43-41ca-b116-94bda02d913e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kandra10@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "474254",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:02.688 response time in milliseconds: 3770
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:02",
  "timestamp": 1733512382,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3b407b75-5e43-41ca-b116-94bda02d913e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123809276859404979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.044
13:13:02.744 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@45f5ce63",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.013
13:13:02.758 [print] Response: null 
0.043
* url apiURL 0.000
13:13:00.405 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.010
* def requestBody = read('data/evaluations.json') 0.008
* def baseJson = read('data/base.json') 0.006
* def testCases = read('data/cases.json') 0.006
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.005
* requestBody.transaction_id = uuid 0.003
2.602
* def peticion = requestBody 0.002
* set peticion.client.email = dataGenerator.getRandomEmail() 0.069
* set peticion.payment_method.bin = "889610" 0.005
Given path '/engine/evaluations' 0.000
And request peticion 0.004
When method POST 2.450
13:13:00.587 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f9d2684f-4761-41c9-9a25-46f3fa5723c6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "merrill68@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "889610",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:03.020 response time in milliseconds: 2430
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:03",
  "timestamp": 1733512383,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f9d2684f-4761-41c9-9a25-46f3fa5723c6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335123814836000204953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.014
13:13:03.052 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@13e0ece4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.053
13:13:03.106 [print] Response: null 
0.057
* url apiURL 0.001
13:13:02.533 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.017
* def requestBody = read('data/evaluations.json') 0.021
* def baseJson = read('data/base.json') 0.006
* def testCases = read('data/cases.json') 0.006
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.004
* requestBody.transaction_id = uuid 0.001
2.393
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.275
* set peticion.payment_method.bin = "575907" 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.054
13:13:02.894 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cde81259-59ed-408f-9375-a1b94b964bc0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "tanya11@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "575907",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:04.919 response time in milliseconds: 2018
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:05",
  "timestamp": 1733512385,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cde81259-59ed-408f-9375-a1b94b964bc0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335123838896670404981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.004
13:13:04.947 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2ca0994f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.053
13:13:05.000 [print] Response: null 
0.070
* url apiURL 0.000
13:13:02.606 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.048
* def requestBody = read('data/evaluations.json') 0.006
* def baseJson = read('data/base.json') 0.007
* def testCases = read('data/cases.json') 0.003
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.001
2.346
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.196
* set peticion.payment_method.bin = "668055" 0.008
Given path '/engine/evaluations' 0.002
And request peticion 0.000
When method POST 2.112
13:13:02.929 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e5a5bf8a-83c6-43a5-9af1-418308365c72",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "wes39@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "668055",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:05.022 response time in milliseconds: 2086
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:05",
  "timestamp": 1733512385,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e5a5bf8a-83c6-43a5-9af1-418308365c72",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123839186239604988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.004
13:13:05.035 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@67f5d8c1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.019
13:13:05.055 [print] Response: null 
0.015
* url apiURL 0.000
13:13:02.868 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.007
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.031
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.106
* set peticion.payment_method.bin = "417033" 0.004
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.901
13:13:03.032 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "73ff925f-f1e1-4997-94bf-e03bedf7eab2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lon29@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "417033",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:04.918 response time in milliseconds: 1880
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:05",
  "timestamp": 1733512385,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "73ff925f-f1e1-4997-94bf-e03bedf7eab2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123838736310504970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.008
13:13:04.930 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@768849c3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.008
13:13:04.938 [print] Response: null 
0.058
* url apiURL 0.000
13:13:02.868 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.010
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.008
* def testCases = read('data/cases.json') 0.002
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.034
2.045
* def peticion = requestBody 0.001
* set peticion.client.email = dataGenerator.getRandomEmail() 0.111
* set peticion.payment_method.bin = "628008" 0.003
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.855
13:13:03.098 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6967599b-b583-4854-8995-6c32421e8bd7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "cassy6@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "628008",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:04.921 response time in milliseconds: 1813
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:05",
  "timestamp": 1733512385,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6967599b-b583-4854-8995-6c32421e8bd7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123838736876404984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "PROPRIETARY",
    "payment_information_account_issuer": null,
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.023
13:13:04.954 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2dfc53e6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.046
13:13:05.001 [print] Response: null 
0.080
* url apiURL 0.000
13:13:03.172 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.007
* def requestBody = read('data/evaluations.json') 0.017
* def baseJson = read('data/base.json') 0.013
* def testCases = read('data/cases.json') 0.011
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.012
* requestBody.transaction_id = uuid 0.016
1.905
* def peticion = requestBody 0.010
* set peticion.client.email = dataGenerator.getRandomEmail() 0.065
* set peticion.payment_method.bin = "754057" 0.003
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.794
13:13:03.367 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6b695ed1-4d57-463e-9f88-a0703565be8a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "loise25@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "754057",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:05.149 response time in milliseconds: 1779
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:05",
  "timestamp": 1733512385,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6b695ed1-4d57-463e-9f88-a0703565be8a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123842216558704983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.006
13:13:05.157 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4d9a46f4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.023
13:13:05.181 [print] Response: null 
0.018
* url apiURL 0.000
13:13:04.963 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.004
* def baseJson = read('data/base.json') 0.004
* def testCases = read('data/cases.json') 0.003
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.002
* requestBody.transaction_id = uuid 0.001
1.846
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.026
* set peticion.payment_method.bin = "783922" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.744
13:13:05.031 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "97b3f83d-67dd-4b2a-a105-6eac973e339d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "cody30@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "783922",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:06.757 response time in milliseconds: 1716
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:07",
  "timestamp": 1733512387,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "97b3f83d-67dd-4b2a-a105-6eac973e339d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123857876724804989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.045
13:13:06.805 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@56456316",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.027
13:13:06.835 [print] Response: null 
0.010
* url apiURL 0.000
13:13:05.088 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.000
2.107
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.043
* set peticion.payment_method.bin = "669265" 0.006
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 2.019
13:13:05.183 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "30225b5b-b456-4da3-85f6-91f67fb57312",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "gayla67@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "669265",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:07.173 response time in milliseconds: 1984
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:07",
  "timestamp": 1733512387,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "30225b5b-b456-4da3-85f6-91f67fb57312",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123861266812704987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.022
13:13:07.197 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@39614521",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.013
13:13:07.211 [print] Response: null 
0.035
* url apiURL 0.000
13:13:05.061 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.024
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.001
1.861
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.095
* set peticion.payment_method.bin = "994169" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.718
13:13:05.229 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4e5245be-492a-4627-9a6d-09f0a9e3b7c5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "janetta68@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "994169",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:06.930 response time in milliseconds: 1694
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:07",
  "timestamp": 1733512387,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4e5245be-492a-4627-9a6d-09f0a9e3b7c5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123860216865604979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.013
13:13:06.948 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4bd1237c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.030
13:13:06.979 [print] Response: null 
0.086
* url apiURL 0.026
13:13:05.102 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.027
* def requestBody = read('data/evaluations.json') 0.016
* def baseJson = read('data/base.json') 0.011
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.000
2.527
* def peticion = requestBody 0.006
* set peticion.client.email = dataGenerator.getRandomEmail() 0.071
* set peticion.payment_method.bin = "712892" 0.003
Given path '/engine/evaluations' 0.001
And request peticion 0.025
When method POST 2.410
13:13:05.315 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "81b9087f-54ee-47e7-8991-1f37107cb6f6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "nathanael55@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "712892",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:07.714 response time in milliseconds: 2397
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:08",
  "timestamp": 1733512388,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "81b9087f-54ee-47e7-8991-1f37107cb6f6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123861296561204983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.003
13:13:07.719 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@72bf02c8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:07.722 [print] Response: null 
0.074
* url apiURL 0.003
13:13:05.249 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.018
* def requestBody = read('data/evaluations.json') 0.019
* def baseJson = read('data/base.json') 0.010
* def testCases = read('data/cases.json') 0.010
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.005
* requestBody.transaction_id = uuid 0.007
1.998
* def peticion = requestBody 0.001
* set peticion.client.email = dataGenerator.getRandomEmail() 0.081
* set peticion.payment_method.bin = "997674" 0.005
Given path '/engine/evaluations' 0.017
And request peticion 0.001
When method POST 1.836
13:13:05.470 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "50ed9ae0-c441-45f4-8ba0-4d088a3dc16a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "cortez18@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "997674",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:07.296 response time in milliseconds: 1821
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:07",
  "timestamp": 1733512387,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "50ed9ae0-c441-45f4-8ba0-4d088a3dc16a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123862666242204988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.021
13:13:07.321 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@459757b2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.032
13:13:07.356 [print] Response: null 
0.024
* url apiURL 0.000
13:13:06.850 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.007
* def baseJson = read('data/base.json') 0.005
* def testCases = read('data/cases.json') 0.003
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.001
2.195
* def peticion = requestBody 0.002
* set peticion.client.email = dataGenerator.getRandomEmail() 0.040
* set peticion.payment_method.bin = "714927" 0.005
Given path '/engine/evaluations' 0.019
And request peticion 0.000
When method POST 2.107
13:13:06.981 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3436095e-5953-4fdc-9c2d-286e41194984",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "jacqui50@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "714927",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:09.059 response time in milliseconds: 2067
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:09",
  "timestamp": 1733512389,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3436095e-5953-4fdc-9c2d-286e41194984",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123878166881104984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.010
13:13:09.076 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@725f9c25",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.010
13:13:09.087 [print] Response: null 
0.078
* url apiURL 0.000
13:13:07.036 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.009
* def requestBody = read('data/evaluations.json') 0.007
* def baseJson = read('data/base.json') 0.044
* def testCases = read('data/cases.json') 0.006
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.006
* requestBody.transaction_id = uuid 0.004
1.873
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.041
* set peticion.payment_method.bin = "899532" 0.004
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.792
13:13:07.203 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "af630293-f604-44c5-a55e-13452ccb0dcd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "osvaldo57@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "899532",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:08.988 response time in milliseconds: 1779
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:09",
  "timestamp": 1733512389,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "af630293-f604-44c5-a55e-13452ccb0dcd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123880446244404988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.015
13:13:09.006 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@24d296c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.017
13:13:09.025 [print] Response: null 
0.069
* url apiURL 0.000
13:13:07.317 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.032
* def baseJson = read('data/base.json') 0.004
* def testCases = read('data/cases.json') 0.016
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.010
* requestBody.transaction_id = uuid 0.003
1.890
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.112
* set peticion.payment_method.bin = "568076" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.766
13:13:07.560 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bb338fdd-75e4-4afd-b2ff-89be2a86522d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "adrien44@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "568076",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:09.299 response time in milliseconds: 1727
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:09",
  "timestamp": 1733512389,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bb338fdd-75e4-4afd-b2ff-89be2a86522d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123883776827904960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.008
13:13:09.309 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7c30a278",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:09.311 [print] Response: null 
0.008
* url apiURL 0.000
13:13:07.450 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.939
* def peticion = requestBody 0.012
* set peticion.client.email = dataGenerator.getRandomEmail() 0.118
* set peticion.payment_method.bin = "446072" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.786
13:13:07.648 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "414b786c-3834-4b2c-87f0-1ca50dca1f81",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "elmer73@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "446072",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:09.414 response time in milliseconds: 1761
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:09",
  "timestamp": 1733512389,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "414b786c-3834-4b2c-87f0-1ca50dca1f81",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123883496008604953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "CLASSIC",
    "payment_information_account_issuer": "ICBA BANCARD, INC.",
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.004
13:13:09.421 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@464b41fc",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.013
13:13:09.436 [print] Response: null 
0.185
* url apiURL 0.000
13:13:07.751 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.077
* def baseJson = read('data/base.json') 0.004
* def testCases = read('data/cases.json') 0.067
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.010
* requestBody.transaction_id = uuid 0.024
1.955
* def peticion = requestBody 0.020
* set peticion.client.email = dataGenerator.getRandomEmail() 0.066
* set peticion.payment_method.bin = "707879" 0.006
Given path '/engine/evaluations' 0.003
And request peticion 0.000
When method POST 1.852
13:13:08.048 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9383caee-f25f-4c61-80af-27ba5c9919b7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "nicholle1@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "707879",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:09.892 response time in milliseconds: 1840
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:10",
  "timestamp": 1733512390,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9383caee-f25f-4c61-80af-27ba5c9919b7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123888516523204980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.003
13:13:09.897 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@32d1c177",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:09.901 [print] Response: null 
0.032
* url apiURL 0.001
13:13:09.100 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.009
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.003
* def testCases = read('data/cases.json') 0.007
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.004
* requestBody.transaction_id = uuid 0.002
2.106
* def peticion = requestBody 0.002
* set peticion.client.email = dataGenerator.getRandomEmail() 0.124
* set peticion.payment_method.bin = "953350" 0.009
Given path '/engine/evaluations' 0.002
And request peticion 0.003
When method POST 1.962
13:13:09.336 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4e9b8e32-8a68-4c28-81fd-78673dbe069a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "stephani1@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "953350",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:11.264 response time in milliseconds: 1923
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:11",
  "timestamp": 1733512391,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4e9b8e32-8a68-4c28-81fd-78673dbe069a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123901436874404974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:11.266 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3941ee8d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:11.267 [print] Response: null 
0.035
* url apiURL 0.000
13:13:09.129 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.027
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.756
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.072
* set peticion.payment_method.bin = "452824" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.678
13:13:09.247 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8d298c9f-422e-4081-a290-a0a72eae411b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "nedra68@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "452824",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:10.920 response time in milliseconds: 1671
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:11",
  "timestamp": 1733512391,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8d298c9f-422e-4081-a290-a0a72eae411b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335123900206524404980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.002
13:13:10.923 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@56b80c56",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:10.925 [print] Response: null 
0.019
* url apiURL 0.000
13:13:09.335 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.009
* requestBody.transaction_id = uuid 0.000
2.182
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.120
* set peticion.payment_method.bin = "769374" 0.005
Given path '/engine/evaluations' 0.000
And request peticion 0.001
When method POST 2.050
13:13:09.510 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f36b4971-5955-403a-b71e-d54996568ba4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "dwight63@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "769374",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:11.544 response time in milliseconds: 2027
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:11",
  "timestamp": 1733512391,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f36b4971-5955-403a-b71e-d54996568ba4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123906246830804960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:11.546 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@46db5cc2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:11.548 [print] Response: null 
0.027
* url apiURL 0.000
13:13:09.480 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.008
* def requestBody = read('data/evaluations.json') 0.007
* def baseJson = read('data/base.json') 0.004
* def testCases = read('data/cases.json') 0.002
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.001
2.256
* def peticion = requestBody 0.001
* set peticion.client.email = dataGenerator.getRandomEmail() 0.120
* set peticion.payment_method.bin = "724587" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.014
When method POST 2.080
13:13:09.670 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1e78bf66-856e-4f75-8219-757ac12f293a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "greg92@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "724587",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:11.742 response time in milliseconds: 2067
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:11",
  "timestamp": 1733512391,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1e78bf66-856e-4f75-8219-757ac12f293a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335123906336884904984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.030
13:13:11.774 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4227405c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.006
13:13:11.781 [print] Response: null 
0.012
* url apiURL 0.000
13:13:09.917 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.081
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.048
* set peticion.payment_method.bin = "516681" 0.010
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.003
13:13:10.005 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2099f37e-9a2f-411f-95d0-fc254d45e43c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "tanja87@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "516681",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:11.999 response time in milliseconds: 1990
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:12",
  "timestamp": 1733512392,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2099f37e-9a2f-411f-95d0-fc254d45e43c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123907546985504973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "PREPAID MASTERCARD UNEMBOSSED NON US",
    "payment_information_account_issuer": "BANCO NACIONAL DE COSTA RICA",
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.008
13:13:12.009 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@213aabad",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.008
13:13:12.018 [print] Response: null 
0.021
* url apiURL 0.000
13:13:10.933 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.007
* def requestBody = read('data/evaluations.json') 0.006
* def baseJson = read('data/base.json') 0.003
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.357
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.043
* set peticion.payment_method.bin = "905181" 0.004
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.203
13:13:11.012 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9b957639-1248-43bb-a3d3-5e615c5dc538",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ariel2@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "905181",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:13.209 response time in milliseconds: 2195
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:13",
  "timestamp": 1733512393,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9b957639-1248-43bb-a3d3-5e615c5dc538",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "1732",
    "first_verification_date": "03/10/2020",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123917606819604987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.054
13:13:13.264 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4bbcf6fd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.050
13:13:13.310 [print] Response: null 
0.004
* url apiURL 0.000
13:13:11.273 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.944
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.037
* set peticion.payment_method.bin = "549099" 0.007
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.884
13:13:11.331 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4d052a2d-6cab-4f8a-a08c-67480afe0882",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lenore41@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "549099",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:13.209 response time in milliseconds: 1874
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:13",
  "timestamp": 1733512393,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4d052a2d-6cab-4f8a-a08c-67480afe0882",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335123921336986904973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "PLATINUM",
    "payment_information_account_issuer": "BANK OF AMERICA, NATIONAL ASSOCIATION",
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.007
13:13:13.218 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@386a0795",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.007
13:13:13.226 [print] Response: null 
0.006
* url apiURL 0.000
13:13:11.618 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.267
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.061
* set peticion.payment_method.bin = "444740" 0.031
Given path '/engine/evaluations' 0.002
And request peticion 0.000
When method POST 2.160
13:13:11.730 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c5f46ef2-1a41-4081-ba5c-82de2040898b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "jae27@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "444740",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:13.886 response time in milliseconds: 2152
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:14",
  "timestamp": 1733512394,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c5f46ef2-1a41-4081-ba5c-82de2040898b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335123928516262604975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Traditional",
    "payment_information_account_issuer": "BLOOM CREDIT UNION",
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.005
13:13:13.892 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@44a275e0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.005
13:13:13.898 [print] Response: null 
0.011
* url apiURL 0.000
13:13:11.804 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.002
* requestBody.transaction_id = uuid 0.002
2.105
* def peticion = requestBody 0.001
* set peticion.client.email = dataGenerator.getRandomEmail() 0.025
* set peticion.payment_method.bin = "900513" 0.003
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 2.066
13:13:11.860 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c3319183-a373-4cf4-971a-bbc93948aef3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "austin52@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "900513",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:13.918 response time in milliseconds: 2055
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:14",
  "timestamp": 1733512394,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c3319183-a373-4cf4-971a-bbc93948aef3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335123929176854904986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.005
13:13:13.926 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@311cc00f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:13.928 [print] Response: null 
0.020
* url apiURL 0.000
13:13:12.046 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.004
* def testCases = read('data/cases.json') 0.003
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.002
* requestBody.transaction_id = uuid 0.002
1.787
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.031
* set peticion.payment_method.bin = "474997" 0.004
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.733
13:13:12.119 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "830df7ff-e2d1-4801-aef0-67f0a07c5eab",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ray23@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "474997",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:13.841 response time in milliseconds: 1717
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:14",
  "timestamp": 1733512394,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "830df7ff-e2d1-4801-aef0-67f0a07c5eab",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335123929346988004973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.009
13:13:13.855 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@581b4012",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.004
13:13:13.861 [print] Response: null 
0.105
* url apiURL 0.000
13:13:13.318 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.017
* def requestBody = read('data/evaluations.json') 0.023
* def baseJson = read('data/base.json') 0.035
* def testCases = read('data/cases.json') 0.003
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.022
* requestBody.transaction_id = uuid 0.002
1.944
* def peticion = requestBody 0.001
* set peticion.client.email = dataGenerator.getRandomEmail() 0.151
* set peticion.payment_method.bin = "492954" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.787
13:13:13.642 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "96e8fdc6-337d-4f4a-9d43-a540b7ac8b8c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "angeline78@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "492954",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:15.418 response time in milliseconds: 1771
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:15",
  "timestamp": 1733512395,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "96e8fdc6-337d-4f4a-9d43-a540b7ac8b8c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335123943726759404990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:15.421 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@77bc7a39",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:15.422 [print] Response: null 
0.043
* url apiURL 0.000
13:13:13.412 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.010
* def requestBody = read('data/evaluations.json') 0.004
* def baseJson = read('data/base.json') 0.004
* def testCases = read('data/cases.json') 0.010
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.008
* requestBody.transaction_id = uuid 0.004
2.110
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.052
* set peticion.payment_method.bin = "938222" 0.013
Given path '/engine/evaluations' 0.010
And request peticion 0.000
When method POST 2.024
13:13:13.571 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8e6ade5e-1b48-4810-a85c-dd2e8450ed7c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "audra81@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "938222",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:15.579 response time in milliseconds: 2003
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:15",
  "timestamp": 1733512395,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8e6ade5e-1b48-4810-a85c-dd2e8450ed7c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123944626923004956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.005
13:13:15.587 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@96bb653",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:15.589 [print] Response: null 
0.027
* url apiURL 0.000
13:13:13.881 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.011
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.009
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.748
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.027
* set peticion.payment_method.bin = "488067" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.716
13:13:13.946 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9b31c288-aa99-415b-bf18-621976bd07bd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kendall56@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "488067",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:15.659 response time in milliseconds: 1709
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:15",
  "timestamp": 1733512395,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9b31c288-aa99-415b-bf18-621976bd07bd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335123947856875304979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "PREPAID VPAY",
    "payment_information_account_issuer": "WIRECARD CARD SOLUTIONS, LTD.",
    "risk_information_score": "92",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:15.662 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2d79df41",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:15.663 [print] Response: null 
0.022
* url apiURL 0.000
13:13:13.917 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.008
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.003
* def testCases = read('data/cases.json') 0.004
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.149
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.081
* set peticion.payment_method.bin = "976989" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.061
13:13:14.037 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f8cbde96-f037-4db0-ade3-10f872c1d227",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "bernie7@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "976989",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:16.091 response time in milliseconds: 2051
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:16",
  "timestamp": 1733512396,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f8cbde96-f037-4db0-ade3-10f872c1d227",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123950066735704978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:16.093 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1fa75065",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:16.094 [print] Response: null 
0.003
* url apiURL 0.000
13:13:13.958 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.953
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.069
* set peticion.payment_method.bin = "609250" 0.006
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.871
13:13:14.042 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "48d50de9-6d70-4722-ba35-57f9aaec60a9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "cassondra7@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "609250",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:15.910 response time in milliseconds: 1862
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:16",
  "timestamp": 1733512396,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "48d50de9-6d70-4722-ba35-57f9aaec60a9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123949076735604989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.004
13:13:15.916 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@27026754",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:15.917 [print] Response: null 
0.008
* url apiURL 0.000
13:13:15.427 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.686
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.payment_method.bin = "890918" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.665
13:13:15.461 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ef698186-5046-42e7-ad19-393ffa6d7ba3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kaylee14@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "890918",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:17.124 response time in milliseconds: 1662
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:17",
  "timestamp": 1733512397,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ef698186-5046-42e7-ad19-393ffa6d7ba3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335123962396824204987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:17.125 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1ee10f4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:17.126 [print] Response: null 
0.006
* url apiURL 0.000
13:13:15.604 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.795
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.025
* set peticion.payment_method.bin = "859569" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.767
13:13:15.642 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4bb88ace-b4b8-4dfb-ac28-a4ad07429c7f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "mirtha72@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "859569",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:17.406 response time in milliseconds: 1761
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:17",
  "timestamp": 1733512397,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4bb88ace-b4b8-4dfb-ac28-a4ad07429c7f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123963556924904956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:17.408 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@11077fd2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:17.409 [print] Response: null 
0.008
* url apiURL 0.000
13:13:15.677 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.004
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.739
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.payment_method.bin = "790266" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.711
13:13:15.724 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "19c411d1-1c8a-4612-8288-55e362887d27",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "karon56@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "790266",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:17.425 response time in milliseconds: 1692
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:17",
  "timestamp": 1733512397,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "19c411d1-1c8a-4612-8288-55e362887d27",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123964336664004985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:17.428 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2929ea5d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:17.430 [print] Response: null 
0.009
* url apiURL 0.000
13:13:15.935 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.995
* def peticion = requestBody 0.004
* set peticion.client.email = dataGenerator.getRandomEmail() 0.027
* set peticion.payment_method.bin = "902186" 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.944
13:13:15.987 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dc278c7a-d7e9-410f-abd5-6aa07b3f4071",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "marianela55@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "902186",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:17.923 response time in milliseconds: 1928
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:18",
  "timestamp": 1733512398,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "dc278c7a-d7e9-410f-abd5-6aa07b3f4071",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335123968136738504989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.008
13:13:17.937 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1215dc1d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.007
13:13:17.945 [print] Response: null 
0.013
* url apiURL 0.000
13:13:16.110 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.004
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.913
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.payment_method.bin = "505395" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.824
13:13:16.153 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d6187f96-1903-44ec-8f22-c3714c07a8ed",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "shavon58@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "505395",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:17.971 response time in milliseconds: 1804
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:18",
  "timestamp": 1733512398,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d6187f96-1903-44ec-8f22-c3714c07a8ed",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123968946531504980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.033
13:13:18.005 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@75e34389",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.033
13:13:18.037 [print] Response: null 
0.006
* url apiURL 0.000
13:13:17.135 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.907
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.payment_method.bin = "479336" 0.002
Given path '/engine/evaluations' 0.005
And request peticion 0.000
When method POST 1.874
13:13:17.179 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cd46bb86-104b-40f1-bfdb-c94f1ee06b7e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "vernice31@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "479336",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:19.044 response time in milliseconds: 1863
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:19",
  "timestamp": 1733512399,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cd46bb86-104b-40f1-bfdb-c94f1ee06b7e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123980056269204975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Business",
    "payment_information_account_issuer": "MICHIGAN COLUMBUS FEDERAL CREDIT UNION",
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.002
13:13:19.049 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@17c0272f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:13:19.053 [print] Response: null 
0.008
* url apiURL 0.000
13:13:17.426 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.806
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.070
* set peticion.payment_method.bin = "552786" 0.001
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.706
13:13:17.527 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4ea562a0-8c61-4f40-8b4b-3967d1e2cc35",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "danial94@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "552786",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:19.215 response time in milliseconds: 1685
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:19",
  "timestamp": 1733512399,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4ea562a0-8c61-4f40-8b4b-3967d1e2cc35",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123982636975704977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "MASTERCARD CORPORATE",
    "payment_information_account_issuer": "BANCO DE VENEZUELA, S.A.C.A.",
    "risk_information_score": "92",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:19.217 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@289cde11",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.025
13:13:19.238 [print] Response: null 
0.016
* url apiURL 0.000
13:13:17.502 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.003
* def testCases = read('data/cases.json') 0.002
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.002
* requestBody.transaction_id = uuid 0.002
1.713
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.022
* set peticion.payment_method.bin = "606315" 0.004
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.647
13:13:17.563 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "457bb04b-5b63-4e3b-9bbc-0b26146c683a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "edwin16@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "606315",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:19.198 response time in milliseconds: 1627
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:19",
  "timestamp": 1733512399,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "457bb04b-5b63-4e3b-9bbc-0b26146c683a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123982656178104976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "92",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.026
13:13:19.227 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@23ca9a1a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.010
13:13:19.239 [print] Response: null 
0.029
* url apiURL 0.000
13:13:18.046 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.014
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.005
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.001
1.871
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.056
* set peticion.payment_method.bin = "409993" 0.003
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.803
13:13:18.169 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "96ae844e-8541-4753-a4b1-add6fe254cf4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lakita9@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "409993",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:19.966 response time in milliseconds: 1794
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:20",
  "timestamp": 1733512400,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "96ae844e-8541-4753-a4b1-add6fe254cf4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335123988996576104983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.002
13:13:19.970 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@69b5e1a8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:19.972 [print] Response: null 
0.008
* url apiURL 0.000
13:13:18.089 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.374
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.025
* set peticion.payment_method.bin = "641799" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.344
13:13:18.134 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "13afe928-8793-4b5c-b169-e5b1874d2cd2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "berna39@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "641799",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:20.475 response time in milliseconds: 2340
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:20",
  "timestamp": 1733512400,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "13afe928-8793-4b5c-b169-e5b1874d2cd2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "9"
  },
  "decision_manager": {
    "id": "7335123989296976404977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "91",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:20.476 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@413dc43c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:20.476 [print] Response: null 
0.013
* url apiURL 0.000
13:13:19.083 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.004
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.886
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.payment_method.bin = "928810" 0.003
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 1.857
13:13:19.153 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "69bdd1d0-12fe-4aae-ad59-7f6df7b69e2e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "paula94@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "928810",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:20.992 response time in milliseconds: 1836
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:21",
  "timestamp": 1733512401,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "69bdd1d0-12fe-4aae-ad59-7f6df7b69e2e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335123998926668704985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:20.994 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1e7718a6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:20.995 [print] Response: null 
0.005
* url apiURL 0.000
13:13:19.245 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.744
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.022
* set peticion.payment_method.bin = "530791" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.715
13:13:19.285 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "319747f7-a43a-4100-9859-22163fe75a03",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "millard73@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "530791",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:20.992 response time in milliseconds: 1704
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:21",
  "timestamp": 1733512401,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "319747f7-a43a-4100-9859-22163fe75a03",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124000406577304983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "BUSINESSCARD",
    "payment_information_account_issuer": "STIFEL BANK",
    "risk_information_score": "92",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.002
13:13:20.996 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@22243eb3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:20.997 [print] Response: null 
0.049
* url apiURL 0.000
13:13:19.253 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.020
* def baseJson = read('data/base.json') 0.004
* def testCases = read('data/cases.json') 0.010
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.009
* requestBody.transaction_id = uuid 0.000
2.099
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.044
* set peticion.payment_method.bin = "419540" 0.006
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.043
13:13:19.378 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a4f6672d-f393-4c58-82e6-ba481646014f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "twana68@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "419540",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:21.417 response time in milliseconds: 2020
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:21",
  "timestamp": 1733512401,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a4f6672d-f393-4c58-82e6-ba481646014f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124001406271804975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "94",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.002
13:13:21.421 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@50810855",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:21.422 [print] Response: null 
0.007
* url apiURL 0.000
13:13:19.977 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.727
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.payment_method.bin = "573316" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.696
13:13:20.010 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7e210d85-5f6f-4750-adf2-f9461238ade0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "quinn71@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "573316",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:21.703 response time in milliseconds: 1689
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:22",
  "timestamp": 1733512402,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7e210d85-5f6f-4750-adf2-f9461238ade0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335124007116863304986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "PERSONAL",
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
* print 'Request:', karate.prevRequest 0.003
13:13:21.708 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6ec2f869",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.006
13:13:21.714 [print] Response: null 
0.005
* url apiURL 0.000
13:13:20.491 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.894
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.022
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.007
* set peticion.client.name = "Ragnar" 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.836
13:13:20.540 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5bdc1389-1c81-425a-9bb5-f2b10107022e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 46.84,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Ragnar",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "millicent20@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:22.369 response time in milliseconds: 1826
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:22",
  "timestamp": 1733512402,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5bdc1389-1c81-425a-9bb5-f2b10107022e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124013946536304980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.021
* print 'Request:', karate.prevRequest 0.001
13:13:22.394 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@586f843c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:22.395 [print] Response: null 
0.030
* url apiURL 0.000
13:13:21.001 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.018
* def baseJson = read('data/base.json') 0.005
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.827
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Malice" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.790
13:13:21.072 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "08733ccb-5ca2-4b1a-9869-1cc3711b142d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 964.14,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Malice",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "yolanda13@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:23.854 response time in milliseconds: 2781
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:24",
  "timestamp": 1733512404,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "08733ccb-5ca2-4b1a-9869-1cc3711b142d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124021346671504985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.003
13:13:23.861 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6ac3f87f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:23.864 [print] Response: null 
0.005
* url apiURL 0.000
13:13:21.007 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.242
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Voldemort" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.207
13:13:21.046 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "50147c12-512b-4dc5-abad-8cee2f7918a3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 461.88,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Voldemort",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "tiara47@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:23.247 response time in milliseconds: 2198
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:23",
  "timestamp": 1733512403,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "50147c12-512b-4dc5-abad-8cee2f7918a3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124021986884004979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.004
13:13:23.255 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5e86f0fc",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:13:23.259 [print] Response: null 
0.021
* url apiURL 0.000
13:13:21.470 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.011
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.004
1.857
* def peticion = requestBody 0.003
* set peticion.client.email = dataGenerator.getRandomEmail() 0.045
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.015
* set peticion.client.name = "Zephyr" 0.003
Given path '/engine/evaluations' 0.008
And request peticion 0.002
When method POST 1.768
13:13:21.583 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a25e622c-5aec-406d-bf86-d3c4dbe68bc6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 339.69,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Zephyr",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "edris14@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:23.345 response time in milliseconds: 1757
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:23",
  "timestamp": 1733512403,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a25e622c-5aec-406d-bf86-d3c4dbe68bc6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124024366898904984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.004
* print 'Request:', karate.prevRequest 0.004
13:13:23.356 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@224a04ce",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:23.358 [print] Response: null 
0.003
* url apiURL 0.000
13:13:21.726 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.716
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Kaine" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.683
13:13:21.768 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "91437bed-fa54-4ce0-b460-56cfb8558137",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 640.74,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Kaine",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "marcelene56@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:23.441 response time in milliseconds: 1670
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:23",
  "timestamp": 1733512403,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "91437bed-fa54-4ce0-b460-56cfb8558137",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124025306931504956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:13:23.448 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3895db7d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:23.450 [print] Response: null 
0.002
* url apiURL 0.000
13:13:22.405 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.668
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.024
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Astaroth" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.628
13:13:22.444 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0cebd16d-beeb-475e-8b8a-3c113ae32b09",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 23.68,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Astaroth",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ricky84@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:24.069 response time in milliseconds: 1623
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:24",
  "timestamp": 1733512404,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0cebd16d-beeb-475e-8b8a-3c113ae32b09",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124031566830904987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.002
13:13:24.073 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@59e12952",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.004
13:13:24.078 [print] Response: null 
0.010
* url apiURL 0.000
13:13:23.267 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.006
1.810
* def peticion = requestBody 0.001
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Savra" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.778
13:13:23.318 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e5cce96c-0bf0-4868-86d6-691c6129f623",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 37.57,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Savra",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "caren92@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:25.087 response time in milliseconds: 1766
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:25",
  "timestamp": 1733512405,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e5cce96c-0bf0-4868-86d6-691c6129f623",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124040926741904982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:13:25.091 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7d0a3ba5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:25.093 [print] Response: null 
0.016
* url apiURL 0.000
13:13:23.379 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.002
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.002
* requestBody.transaction_id = uuid 0.001
1.923
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Lucifer" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.882
13:13:23.432 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e08cef7c-15d7-4e6b-a914-492c7706e503",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 10.81,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Lucifer",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "vernice14@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:25.312 response time in milliseconds: 1876
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:25",
  "timestamp": 1733512405,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e08cef7c-15d7-4e6b-a914-492c7706e503",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124042556276204975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.005
13:13:25.320 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2a2ed928",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.005
13:13:25.325 [print] Response: null 
0.009
* url apiURL 0.000
13:13:23.472 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.236
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Mordred" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.195
13:13:23.516 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0833fd7a-f222-466d-8014-7a68176678d0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 915.18,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Mordred",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "despina43@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:25.708 response time in milliseconds: 2182
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:25",
  "timestamp": 1733512405,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0833fd7a-f222-466d-8014-7a68176678d0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124044336933304956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:25.711 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@577b48cc",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.013
13:13:25.724 [print] Response: null 
0.009
* url apiURL 0.000
13:13:23.881 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.820
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Cruor" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.790
13:13:23.916 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "234cbc40-d9c7-4972-a743-3a88f6239062",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 230.93,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Cruor",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "joannie51@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:25.703 response time in milliseconds: 1784
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:25",
  "timestamp": 1733512405,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "234cbc40-d9c7-4972-a743-3a88f6239062",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124046826746704978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.008
13:13:25.718 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3540373e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:25.721 [print] Response: null 
0.009
* url apiURL 0.000
13:13:24.090 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.515
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Leviathan" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.496
13:13:24.128 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6c0cad2a-42d2-4a49-a225-6cd69344f2ce",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 15.5,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Leviathan",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "jamaal98@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:26.619 response time in milliseconds: 2489
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:26",
  "timestamp": 1733512406,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6c0cad2a-42d2-4a49-a225-6cd69344f2ce",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124049796846304960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:26.621 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@74eba39e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:26.621 [print] Response: null 
0.003
* url apiURL 0.000
13:13:25.105 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.821
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Abyss" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.793
13:13:25.143 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c8d4eeaf-1d9b-4a15-bb4a-64af215b5a0c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 509.15,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Abyss",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "julianna30@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:26.928 response time in milliseconds: 1784
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:27",
  "timestamp": 1733512407,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c8d4eeaf-1d9b-4a15-bb4a-64af215b5a0c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124058546747704989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:26.931 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4f5682cb",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:26.933 [print] Response: null 
0.001
* url apiURL 0.000
13:13:25.335 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.310
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Umbra" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.287
13:13:25.366 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "71b0148a-22ba-4c1c-bf84-9e59c69d31c2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 569.23,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Umbra",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "joan4@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:27.646 response time in milliseconds: 2276
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:27",
  "timestamp": 1733512407,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "71b0148a-22ba-4c1c-bf84-9e59c69d31c2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124065266029804953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:13:27.648 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@44ecd53b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:27.648 [print] Response: null 
0.010
* url apiURL 0.000
13:13:25.788 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.005
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.845
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.052
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Azazel" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.784
13:13:25.867 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7ac2d821-dd06-48db-80ac-e6c48cd14684",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 628.52,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Azazel",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "freddy86@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:27.646 response time in milliseconds: 1776
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:27",
  "timestamp": 1733512407,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7ac2d821-dd06-48db-80ac-e6c48cd14684",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124066736676004985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:13:27.648 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@28d04f54",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:27.648 [print] Response: null 
0.016
* url apiURL 0.000
13:13:25.780 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.010
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.269
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.047
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Vassago" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.204
13:13:25.854 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f90bbb38-3ea7-49ec-a602-e29d994fb6d3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 42.34,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Vassago",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "cornell79@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:28.054 response time in milliseconds: 2198
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:28",
  "timestamp": 1733512408,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f90bbb38-3ea7-49ec-a602-e29d994fb6d3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124066956748804989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.007
* print 'Request:', karate.prevRequest 0.003
13:13:28.065 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5761c9ab",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:28.068 [print] Response: null 
0.003
* url apiURL 0.000
13:13:26.627 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.776
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Vesper" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.749
13:13:26.652 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bf93e7a0-6629-4c2f-9082-a1b16bbbb67f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 77.2,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Vesper",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "roxann24@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:28.396 response time in milliseconds: 1740
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:28",
  "timestamp": 1733512408,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bf93e7a0-6629-4c2f-9082-a1b16bbbb67f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124074786265404988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.005
* print 'Request:', karate.prevRequest 0.002
13:13:28.406 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2aff11e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:13:28.410 [print] Response: null 
0.003
* url apiURL 0.000
13:13:26.943 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.831
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Ignis" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.811
13:13:26.964 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f2c4437a-27a8-431a-a940-263a637df786",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 475.93,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Ignis",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "thomasina1@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:28.773 response time in milliseconds: 1805
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:29",
  "timestamp": 1733512409,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f2c4437a-27a8-431a-a940-263a637df786",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124077706904904984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:13:28.779 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@55a2f967",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:28.780 [print] Response: null 
0.008
* url apiURL 0.000
13:13:27.654 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.873
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.034
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Cobra" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.824
13:13:27.732 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fbc20666-9821-48f1-bc95-38ea40f345a0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 815.8,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Cobra",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "gudrun53@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:29.528 response time in milliseconds: 1795
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:29",
  "timestamp": 1733512409,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fbc20666-9821-48f1-bc95-38ea40f345a0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124085156188404976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.003
13:13:29.534 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4c7a3218",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.005
13:13:29.539 [print] Response: null 
0.005
* url apiURL 0.000
13:13:27.654 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.728
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.035
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Morgoth" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.685
13:13:27.730 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fdb52cca-fd6a-49b9-890c-4a22b39abbae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 12.59,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Morgoth",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "tyrell43@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:29.388 response time in milliseconds: 1654
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:29",
  "timestamp": 1733512409,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fdb52cca-fd6a-49b9-890c-4a22b39abbae",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124084256751004989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:29.393 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6339658d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:29.395 [print] Response: null 
0.005
* url apiURL 0.000
13:13:28.082 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.000
2.318
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Baron" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.301
13:13:28.112 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c9632da7-dfce-4a4c-a065-6deab493b773",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 69.28,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Baron",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kathe48@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:30.408 response time in milliseconds: 2295
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:41 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:30",
  "timestamp": 1733512410,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c9632da7-dfce-4a4c-a065-6deab493b773",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124089316906004984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:30.409 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@fd292fe",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:30.411 [print] Response: null 
0.012
* url apiURL 0.000
13:13:28.429 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.001
1.832
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.025
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Thanos" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.793
13:13:28.487 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f672f382-d52f-4343-b589-6bd221b5f600",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 92.21,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Thanos",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "angelo31@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:30.273 response time in milliseconds: 1783
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:30",
  "timestamp": 1733512410,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f672f382-d52f-4343-b589-6bd221b5f600",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124092786267004988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:13:30.278 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3c70d9a5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:30.279 [print] Response: null 
0.006
* url apiURL 0.000
13:13:28.794 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.706
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Arioch" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.684
13:13:28.830 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8b18aeb3-f30c-4c49-818f-68996e0710ea",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 933.15,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Arioch",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "joycelyn82@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:30.509 response time in milliseconds: 1678
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:41 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:30",
  "timestamp": 1733512410,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8b18aeb3-f30c-4c49-818f-68996e0710ea",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124096146906604984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:30.510 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2b197cca",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:30.510 [print] Response: null 
0.016
* url apiURL 0.000
13:13:29.411 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.006
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.000
2.110
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Nemesis" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.085
13:13:29.460 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "79026808-eb36-4669-b1e7-78d3ebb789cf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 30.83,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Nemesis",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "jules45@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:31.539 response time in milliseconds: 2075
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:31",
  "timestamp": 1733512411,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "79026808-eb36-4669-b1e7-78d3ebb789cf",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124105036340404970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:31.542 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6251689d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:31.544 [print] Response: null 
0.009
* url apiURL 0.000
13:13:29.565 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.086
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.025
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Riddle" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.048
13:13:29.631 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e1ff6010-d95f-4f96-ab92-93e168e955a5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 21.86,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Riddle",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "milford85@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:31.671 response time in milliseconds: 2036
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:31",
  "timestamp": 1733512411,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e1ff6010-d95f-4f96-ab92-93e168e955a5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124104126893104979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:31.676 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@22de13d8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:31.677 [print] Response: null 
0.006
* url apiURL 0.000
13:13:30.289 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.851
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Erebus" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.829
13:13:30.321 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0c3ea507-e6f3-4e4d-944b-0039bf2c99b0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 72.13,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Erebus",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "landon3@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:32.149 response time in milliseconds: 1826
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:32",
  "timestamp": 1733512412,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0c3ea507-e6f3-4e4d-944b-0039bf2c99b0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124112126035104953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:32.150 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@26a42d40",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:32.150 [print] Response: null 
0.003
* url apiURL 0.000
13:13:30.422 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.238
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Wraith" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.216
13:13:30.451 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "019550e6-b605-475b-9a70-e5c79a45aa49",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 652.62,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Wraith",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "leann19@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:32.662 response time in milliseconds: 2208
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:32",
  "timestamp": 1733512412,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "019550e6-b605-475b-9a70-e5c79a45aa49",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124111396680204985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:32.665 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1da3fde1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:32.667 [print] Response: null 
0.004
* url apiURL 0.000
13:13:30.518 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.757
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Silas" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.733
13:13:30.552 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6f73d383-fdfa-4f63-83d1-470b039e6e01",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 4339.19,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Silas",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "sacha65@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:33.279 response time in milliseconds: 2724
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:43 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:33",
  "timestamp": 1733512413,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6f73d383-fdfa-4f63-83d1-470b039e6e01",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124112876990204977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:33.283 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@14bbe9c3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:33.283 [print] Response: null 
0.004
* url apiURL 0.000
13:13:31.554 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.847
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.025
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Scylla" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.811
13:13:31.598 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f77fa309-e85e-4b90-95ba-a3cbae100fa2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 484.89,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Scylla",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "marguerita5@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:34.403 response time in milliseconds: 2802
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:34",
  "timestamp": 1733512414,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f77fa309-e85e-4b90-95ba-a3cbae100fa2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124126776750904982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:13:34.408 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@54f854c6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:34.410 [print] Response: null 
0.005
* url apiURL 0.000
13:13:31.683 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.605
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Magneto" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.582
13:13:31.715 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "610799da-2319-4e25-b7b1-2a7ab523dad8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 189.11,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Magneto",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "jerry77@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:33.295 response time in milliseconds: 1579
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:43 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:33",
  "timestamp": 1733512413,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "610799da-2319-4e25-b7b1-2a7ab523dad8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124124516854704960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:33.296 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@788dd1fb",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:33.296 [print] Response: null 
0.006
* url apiURL 0.000
13:13:32.157 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.241
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Medusa" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.214
13:13:32.195 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cfa28aae-76d1-4f7e-a524-8cac6cbb8e00",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 920.65,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Medusa",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "aundrea66@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:34.403 response time in milliseconds: 2206
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:34",
  "timestamp": 1733512414,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cfa28aae-76d1-4f7e-a524-8cac6cbb8e00",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124130156755104978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:13:34.408 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2f4abf27",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:34.410 [print] Response: null 
0.005
* url apiURL 0.000
13:13:32.677 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.024
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.022
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Shade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.997
13:13:32.713 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "03e1264d-d2d2-44d1-bf1a-b1ccca658780",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 30.9,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Shade",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "sara51@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:34.708 response time in milliseconds: 1994
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:34",
  "timestamp": 1733512414,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "03e1264d-d2d2-44d1-bf1a-b1ccca658780",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124135066896104979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:34.710 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@23f5ac0d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:34.710 [print] Response: null 
0.001
* url apiURL 0.000
13:13:33.289 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.855
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.037
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Gorgon" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.812
13:13:33.341 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ce9a0c55-fc49-4c98-a563-de358664d524",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 451.74,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Gorgon",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "reyes12@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:35.145 response time in milliseconds: 1801
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:35",
  "timestamp": 1733512415,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ce9a0c55-fc49-4c98-a563-de358664d524",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124140476009104973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:35.147 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@617cc1bb",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:35.147 [print] Response: null 
0.011
* url apiURL 0.000
13:13:33.332 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.005
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.855
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Grendel" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.826
13:13:33.373 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "943a4250-608f-439b-bb5b-0104a362d1f1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 877.46,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Grendel",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "orpha1@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:35.197 response time in milliseconds: 1822
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:35",
  "timestamp": 1733512415,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "943a4250-608f-439b-bb5b-0104a362d1f1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124141616896604979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:35.199 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@62af1522",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:13:35.202 [print] Response: null 
0.004
* url apiURL 0.000
13:13:34.416 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.299
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Scar" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.274
13:13:34.445 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2cc2be8c-d213-4c99-b73d-14adf706233f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 4952.55,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Scar",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lynette20@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:36.717 response time in milliseconds: 2270
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:37",
  "timestamp": 1733512417,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2cc2be8c-d213-4c99-b73d-14adf706233f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124154796946304956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:36.720 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7676b035",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:36.722 [print] Response: null 
0.004
* url apiURL 0.000
13:13:34.416 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.134
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Lucius" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.111
13:13:34.445 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "436e79e1-9dfb-4a6c-91ee-8294f11774c8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 60.44,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Lucius",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ayana85@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:36.553 response time in milliseconds: 2107
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:36",
  "timestamp": 1733512416,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "436e79e1-9dfb-4a6c-91ee-8294f11774c8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124154426784804990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:36.556 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4f463c45",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:36.557 [print] Response: null 
0.006
* url apiURL 0.000
13:13:34.726 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.000
2.752
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Zagan" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.734
13:13:34.754 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3dab0d7e-8514-4366-8f3b-eff795386d6e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 978.55,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Zagan",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "erik57@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:37.483 response time in milliseconds: 2720
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:37",
  "timestamp": 1733512417,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3dab0d7e-8514-4366-8f3b-eff795386d6e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124155596708304981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.000
13:13:37.487 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@57e1a89b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:37.488 [print] Response: null 
0.008
* url apiURL 0.000
13:13:35.156 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.816
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Maleficent" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.798
13:13:35.184 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f841bce4-c44f-4a3b-925e-593d74d0a564",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 72.23,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Maleficent",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "walker20@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:36.979 response time in milliseconds: 1791
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:37",
  "timestamp": 1733512417,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f841bce4-c44f-4a3b-925e-593d74d0a564",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124159666708604981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:13:36.984 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@47c84c19",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:36.985 [print] Response: null 
0.002
* url apiURL 0.000
13:13:35.212 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.494
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Moloch" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.475
13:13:35.237 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9023ee4b-6e5f-4a57-84c0-03e78efb2cd3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 665.66,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Moloch",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "eli40@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:37.709 response time in milliseconds: 2471
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:48 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:37",
  "timestamp": 1733512417,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9023ee4b-6e5f-4a57-84c0-03e78efb2cd3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124160036708704981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:37.711 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@54ad52bc",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:37.711 [print] Response: null 
0.002
* url apiURL 0.000
13:13:36.562 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.033
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Lilith" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.014
13:13:36.582 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4c785d33-d388-4832-afc4-0efd6f456ec7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 265.6,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Lilith",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "margarito6@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:38.593 response time in milliseconds: 2008
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:38",
  "timestamp": 1733512418,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4c785d33-d388-4832-afc4-0efd6f456ec7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124175526011904973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:38.596 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2b8bedd9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:38.598 [print] Response: null 
0.002
* url apiURL 0.000
13:13:36.730 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.766
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Zarak" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.749
13:13:36.751 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f7cf3043-0b22-42d7-8040-b3f0a52c51ce",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 827.26,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Zarak",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "yan14@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:38.497 response time in milliseconds: 1745
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:38",
  "timestamp": 1733512418,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f7cf3043-0b22-42d7-8040-b3f0a52c51ce",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124175416555704980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:38.499 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5cf3f19f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:38.499 [print] Response: null 
0.004
* url apiURL 0.000
13:13:36.995 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.822
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Damien" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.800
13:13:37.025 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2efac213-0d47-451a-a33b-3666257fe57b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 53.52,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Damien",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "shemeka77@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:38.819 response time in milliseconds: 1792
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:39",
  "timestamp": 1733512419,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2efac213-0d47-451a-a33b-3666257fe57b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124177956041604953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:13:38.823 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@24bddf19",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:38.826 [print] Response: null 
0.003
* url apiURL 0.000
13:13:37.501 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.796
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Argus" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.770
13:13:37.533 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "87cfdf73-92d5-4dcd-b111-507812027fd8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 300.25,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Argus",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kathlyn56@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:39.296 response time in milliseconds: 1762
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:39",
  "timestamp": 1733512419,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "87cfdf73-92d5-4dcd-b111-507812027fd8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124183966903804974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:13:39.301 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5d2e1507",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:39.304 [print] Response: null 
0.004
* url apiURL 0.000
13:13:37.719 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.883
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Sauron" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.855
13:13:37.750 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "913432ab-e2e1-4529-ba36-7f45a16dbef1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 12.7,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Sauron",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "marcelino54@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:39.600 response time in milliseconds: 1848
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:39",
  "timestamp": 1733512419,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "913432ab-e2e1-4529-ba36-7f45a16dbef1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124185596556604980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.003
13:13:39.608 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1904c32a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:39.610 [print] Response: null 
0.002
* url apiURL 0.000
13:13:38.509 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.912
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Kronos" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.889
13:13:38.531 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "360dad3b-9400-4b86-ae41-169e73635702",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 433.65,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Kronos",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "chadwick35@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:40.416 response time in milliseconds: 1883
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:51 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:40",
  "timestamp": 1733512420,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "360dad3b-9400-4b86-ae41-169e73635702",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124192946789104990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.003
* print 'Request:', karate.prevRequest 0.003
13:13:40.424 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@63668b0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:40.426 [print] Response: null 
0.003
* url apiURL 0.000
13:13:38.603 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.830
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.036
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.name = "Gollum" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.783
13:13:38.656 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1b084be3-cfab-4685-83a0-61fd8d5d438b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 908.38,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Gollum",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "dino73@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:40.433 response time in milliseconds: 1775
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:51 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:40",
  "timestamp": 1733512420,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1b084be3-cfab-4685-83a0-61fd8d5d438b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124193286950904956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:13:40.438 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@40b1dd82",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:13:40.440 [print] Response: null 
0.002
* url apiURL 0.000
13:13:38.836 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.657
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Zira" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.632
13:13:38.871 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3220ad1a-d904-4367-907f-72f84f30366d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 992.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Zira",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "emmaline32@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:41.495 response time in milliseconds: 2622
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:51 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:41",
  "timestamp": 1733512421,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3220ad1a-d904-4367-907f-72f84f30366d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124196586902904979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:41.497 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3afd454a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:41.498 [print] Response: null 
0.007
* url apiURL 0.000
13:13:39.312 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.310
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Balthazar" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.287
13:13:39.344 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "783d4928-32fd-40e3-802f-ae84280dd54a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 492.33,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Balthazar",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "alycia28@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:41.628 response time in milliseconds: 2281
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:41",
  "timestamp": 1733512421,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "783d4928-32fd-40e3-802f-ae84280dd54a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124204716349904970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:41.632 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5dc85909",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:41.632 [print] Response: null 
0.005
* url apiURL 0.000
13:13:39.622 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.609
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Moros" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.589
13:13:39.652 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6c089c7a-e74e-47dd-974e-02d62e7c349e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 209.25,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Moros",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lyn11@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:41.237 response time in milliseconds: 1583
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:51 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:41",
  "timestamp": 1733512421,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6c089c7a-e74e-47dd-974e-02d62e7c349e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124203356762704978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:41.240 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@492d1769",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:41.240 [print] Response: null 
0.006
* url apiURL 0.000
13:13:40.437 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.943
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Hela" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.920
13:13:40.474 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f64ce999-daa8-461f-a554-11ef74f9d050",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9895.6,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Hela",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "fumiko58@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:42.389 response time in milliseconds: 1915
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:42",
  "timestamp": 1733512422,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f64ce999-daa8-461f-a554-11ef74f9d050",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124212816850604987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:42.390 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@66c993da",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:42.390 [print] Response: null 
0.013
* url apiURL 0.000
13:13:40.452 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.006
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.927
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.022
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Strahd" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.899
13:13:40.500 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e6144a0c-e3ca-493e-9251-214eddca3150",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 2887.1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Strahd",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "latrisha29@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:42.396 response time in milliseconds: 1895
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:42",
  "timestamp": 1733512422,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e6144a0c-e3ca-493e-9251-214eddca3150",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124212866765804989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:42.397 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@680ccf5e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:42.398 [print] Response: null 
0.002
* url apiURL 0.000
13:13:41.243 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.889
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Necros" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.872
13:13:41.263 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6aa50061-508a-4105-8235-c464bdb7dbfc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 95.03,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Necros",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rusty38@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:44.133 response time in milliseconds: 2866
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:54 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:44",
  "timestamp": 1733512424,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6aa50061-508a-4105-8235-c464bdb7dbfc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124222946351604970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:44.137 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7e39bbf3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:44.138 [print] Response: null 
0.002
* url apiURL 0.000
13:13:41.507 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.878
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Vlad" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.853
13:13:41.535 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a00e8f1a-d69f-4172-9701-c5e46c4f12cb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 45.09,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Vlad",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kaley50@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:43.383 response time in milliseconds: 1845
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:43",
  "timestamp": 1733512423,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a00e8f1a-d69f-4172-9701-c5e46c4f12cb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124223486907604974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:43.388 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@340ccb52",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:43.389 [print] Response: null 
0.005
* url apiURL 0.000
13:13:41.636 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.608
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Khan" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.585
13:13:41.668 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f61613ef-96bf-419b-973c-9673977711be",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 377.98,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Khan",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "asley70@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:43.252 response time in milliseconds: 1583
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:43",
  "timestamp": 1733512423,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f61613ef-96bf-419b-973c-9673977711be",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124223496001504977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:43.253 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2b83092",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:43.253 [print] Response: null 
0.001
* url apiURL 0.000
13:13:42.394 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.323
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Diablo" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.300
13:13:42.418 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9f3ad75b-9714-4966-a645-96947e362f10",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 49.09,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Diablo",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "evangelina92@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:44.715 response time in milliseconds: 2295
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:45",
  "timestamp": 1733512425,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9f3ad75b-9714-4966-a645-96947e362f10",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124232306280704988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:13:44.721 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@53573810",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:44.721 [print] Response: null 
0.004
* url apiURL 0.000
13:13:42.408 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.133
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Fenrir" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.108
13:13:42.439 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e9b6165d-fbab-4bb6-b6c1-8a734d2bb99c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 644.25,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Fenrir",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "daren74@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:44.542 response time in milliseconds: 2100
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:44",
  "timestamp": 1733512424,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e9b6165d-fbab-4bb6-b6c1-8a734d2bb99c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124233506907204979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:13:44.548 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7fd49d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:44.550 [print] Response: null 
0.004
* url apiURL 0.000
13:13:43.262 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.785
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Hex" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.765
13:13:43.290 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cbc0ba91-f9cc-4584-aa28-3b7dfa005b9f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 470.65,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Hex",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lorrie32@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:45.053 response time in milliseconds: 1761
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:45",
  "timestamp": 1733512425,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cbc0ba91-f9cc-4584-aa28-3b7dfa005b9f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124239716603404983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:45.054 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4b7739e5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:45.055 [print] Response: null 
0.003
* url apiURL 0.000
13:13:43.399 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.390
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Blaze" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.369
13:13:43.427 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9b6fe3ab-f08e-4d28-b31c-e09356e2ed09",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 827.55,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Blaze",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ruben36@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:45.793 response time in milliseconds: 2365
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:46",
  "timestamp": 1733512426,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9b6fe3ab-f08e-4d28-b31c-e09356e2ed09",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124242276889604986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:45.794 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2a449567",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:45.796 [print] Response: null 
0.004
* url apiURL 0.000
13:13:44.144 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.929
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.035
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Nyx" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.887
13:13:44.194 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "19fb4ae6-9900-4a95-8111-17cb219adb6f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 2464.3,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Nyx",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "martin92@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:46.077 response time in milliseconds: 1882
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:46",
  "timestamp": 1733512426,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "19fb4ae6-9900-4a95-8111-17cb219adb6f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124249976301104975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:13:46.080 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1c5df76",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:46.081 [print] Response: null 
0.007
* url apiURL 0.000
13:13:44.557 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.721
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Eldritch" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.700
13:13:44.588 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3223a87e-2153-4ea6-8697-564cb8d290a8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 769.78,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Eldritch",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "freeman19@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:46.286 response time in milliseconds: 1697
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:46",
  "timestamp": 1733512426,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3223a87e-2153-4ea6-8697-564cb8d290a8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124253896282804988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:46.289 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@36f31e99",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:46.290 [print] Response: null 
0.009
* url apiURL 0.000
13:13:44.730 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.796
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Mephisto" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.771
13:13:44.774 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cbef2b13-a11c-48d0-885a-c8b822ffe497",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 792.81,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Mephisto",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "raven54@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:46.538 response time in milliseconds: 1763
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:46",
  "timestamp": 1733512426,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cbef2b13-a11c-48d0-885a-c8b822ffe497",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124254766924504984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:46.540 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@70be1e2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:46.540 [print] Response: null 
0.016
* url apiURL 0.000
13:13:45.070 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.008
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.001
2.012
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Fury" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.985
13:13:45.123 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8edd1e83-dee0-40a2-be38-37c479b2a980",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 383.57,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Fury",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "joye2@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:47.101 response time in milliseconds: 1977
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:47",
  "timestamp": 1733512427,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8edd1e83-dee0-40a2-be38-37c479b2a980",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124258346912404974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:47.103 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4284f2fd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:47.103 [print] Response: null 
0.006
* url apiURL 0.000
13:13:45.809 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.028
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Vritra" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.002
13:13:45.843 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "eb6c5e75-4356-47e8-ac5a-c1b6798790b7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 241.32,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Vritra",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "darell33@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:47.843 response time in milliseconds: 1998
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:48",
  "timestamp": 1733512428,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "eb6c5e75-4356-47e8-ac5a-c1b6798790b7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124268996769504978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:13:47.846 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7da25da8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:47.847 [print] Response: null 
0.005
* url apiURL 0.000
13:13:46.088 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.814
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Anubis" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.795
13:13:46.117 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8d0f957e-1d25-483e-8b01-90a0f2bd359e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 63.73,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Anubis",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "thanh28@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:47.910 response time in milliseconds: 1792
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:48",
  "timestamp": 1733512428,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8d0f957e-1d25-483e-8b01-90a0f2bd359e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124269096767504982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:47.913 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@312b485b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:47.914 [print] Response: null 
0.001
* url apiURL 0.000
13:13:46.300 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.978
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Jafar" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.961
13:13:46.322 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "21c8368a-f298-414f-9f86-c41908463431",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 419.02,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Jafar",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "mercedez2@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:48.280 response time in milliseconds: 1955
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:48",
  "timestamp": 1733512428,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "21c8368a-f298-414f-9f86-c41908463431",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124269966607004983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:48.282 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@662913f0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:48.282 [print] Response: null 
0.003
* url apiURL 0.000
13:13:46.546 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.086
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Reaper" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.062
13:13:46.579 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "59ff0992-010d-4756-acc3-ccc3189a12a4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 860.27,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Reaper",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lincoln44@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:48.635 response time in milliseconds: 2056
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:48",
  "timestamp": 1733512428,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "59ff0992-010d-4756-acc3-ccc3189a12a4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124274866960904956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:48.637 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1c81b410",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:48.637 [print] Response: null 
0.003
* url apiURL 0.000
13:13:47.108 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.733
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Rasputin" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.710
13:13:47.136 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "66cfce40-1836-40bd-be84-9afadbdc3589",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 511.45,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Rasputin",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "elijah23@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:48.841 response time in milliseconds: 1699
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:38:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:49",
  "timestamp": 1733512429,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "66cfce40-1836-40bd-be84-9afadbdc3589",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "11"
  },
  "decision_manager": {
    "id": "7335124278126007104977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:13:48.847 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@79cb0934",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:48.849 [print] Response: null 
0.002
* url apiURL 0.000
13:13:47.855 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.564
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Draco" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.544
13:13:47.875 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0ff26f10-b30a-45a3-8532-0738f9d76494",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 921.13,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Draco",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "flora93@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:50.416 response time in milliseconds: 2540
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:50",
  "timestamp": 1733512430,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0ff26f10-b30a-45a3-8532-0738f9d76494",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124286926769204982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:13:50.422 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@361db1bc",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:50.423 [print] Response: null 
0.004
* url apiURL 0.000
13:13:47.927 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.037
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Caspian" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.009
13:13:47.964 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8090081f-63ad-4b59-8d0c-0a50f84d06c5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 62.77,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Caspian",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "russel27@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:49.967 response time in milliseconds: 2002
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:50",
  "timestamp": 1733512430,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8090081f-63ad-4b59-8d0c-0a50f84d06c5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124288846608804983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:13:49.970 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6b399830",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:49.970 [print] Response: null 
0.003
* url apiURL 0.000
13:13:48.294 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.072
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Acheron" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.042
13:13:48.333 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7b95f738-e92c-4ab1-a309-1634ccbd1f8a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 264.64,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Acheron",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "britteny81@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:50.370 response time in milliseconds: 2034
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:50",
  "timestamp": 1733512430,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7b95f738-e92c-4ab1-a309-1634ccbd1f8a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124292596357804970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:50.373 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@28453fc0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:50.374 [print] Response: null 
0.004
* url apiURL 0.000
13:13:48.647 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.858
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Talon" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.830
13:13:48.686 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "48f33637-b9c0-4c13-9754-298686d02ebd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 479.04,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Talon",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "garland39@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:50.511 response time in milliseconds: 1824
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:50",
  "timestamp": 1733512430,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "48f33637-b9c0-4c13-9754-298686d02ebd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124294696962604956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:50.513 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@13005e25",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:50.514 [print] Response: null 
0.004
* url apiURL 0.000
13:13:48.859 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.132
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.025
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.name = "Xanatos" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.097
13:13:48.899 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a45ea5e4-388d-4eeb-a5ca-4d5701f328cb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9286.74,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Xanatos",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kaley42@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:50.993 response time in milliseconds: 2091
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:51",
  "timestamp": 1733512431,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a45ea5e4-388d-4eeb-a5ca-4d5701f328cb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124296676054604953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:13:50.998 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@51771bb8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:50.999 [print] Response: null 
0.003
* url apiURL 0.000
13:13:49.977 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.834
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Belial" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.819
13:13:49.995 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "21b74e0e-4306-457b-8648-4b27efe1c03b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 231.92,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Belial",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "herb58@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:51.813 response time in milliseconds: 1816
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:52",
  "timestamp": 1733512432,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "21b74e0e-4306-457b-8648-4b27efe1c03b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124306866773704978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:51.816 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@398d3446",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:51.816 [print] Response: null 
0.006
* url apiURL 0.000
13:13:50.382 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.891
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Ravenna" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.873
13:13:50.410 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cd97d747-6baa-444f-9a7f-fa85672e5617",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 35.15,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Ravenna",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "nickolas99@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:52.281 response time in milliseconds: 1868
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:52",
  "timestamp": 1733512432,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cd97d747-6baa-444f-9a7f-fa85672e5617",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124311946897304986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:52.284 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6d2d8bd0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:52.285 [print] Response: null 
0.006
* url apiURL 0.000
13:13:50.435 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.363
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Omen" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.343
13:13:50.466 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2bd2896a-a39b-42b8-81f8-cbd6cc6ebf01",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 89.92,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Omen",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "vito45@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:52.806 response time in milliseconds: 2338
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:53",
  "timestamp": 1733512433,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2bd2896a-a39b-42b8-81f8-cbd6cc6ebf01",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124313616774404978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:52.809 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4349ec23",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:52.809 [print] Response: null 
0.003
* url apiURL 0.000
13:13:50.527 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.276
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Nightmare" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.260
13:13:50.548 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3c151ab1-101c-4dfc-b42c-1fa0ec212b3d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 360.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Nightmare",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hallie8@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:52.806 response time in milliseconds: 2256
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:53",
  "timestamp": 1733512433,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3c151ab1-101c-4dfc-b42c-1fa0ec212b3d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124312376776904989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:13:52.809 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@77a382cf",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:52.809 [print] Response: null 
0.007
* url apiURL 0.000
13:13:51.007 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.992
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Viper" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.972
13:13:51.036 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f1ec40f0-a676-4846-a6dd-b9688143cde9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 73.12,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Viper",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "edwardo5@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:53.006 response time in milliseconds: 1966
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:53",
  "timestamp": 1733512433,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f1ec40f0-a676-4846-a6dd-b9688143cde9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124319956289804988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:53.010 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1f694477",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:53.011 [print] Response: null 
0.004
* url apiURL 0.000
13:13:51.822 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.729
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Joker" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.711
13:13:51.848 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1a270251-91c7-457e-8ade-48529f1ccb27",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 31.3,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Joker",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "willian41@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:53.554 response time in milliseconds: 1703
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:04 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:53",
  "timestamp": 1733512433,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1a270251-91c7-457e-8ade-48529f1ccb27",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124326166920304974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:53.557 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@59241e0d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:53.558 [print] Response: null 
0.001
* url apiURL 0.000
13:13:52.290 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.884
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Zepar" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.864
13:13:52.309 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "05b9231e-f477-48ef-8069-d058ee50ee10",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 123.88,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Zepar",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "mauro46@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:54.170 response time in milliseconds: 1858
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:04 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:54",
  "timestamp": 1733512434,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "05b9231e-f477-48ef-8069-d058ee50ee10",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124331146776404978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:13:54.175 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@402fb91a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:54.177 [print] Response: null 
0.004
* url apiURL 0.000
13:13:52.819 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.801
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Xerxes" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.775
13:13:52.850 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e75f8e0f-8f68-4c40-bb76-2010c41c579f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 968.22,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Xerxes",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "keith62@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:54.620 response time in milliseconds: 1768
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:54",
  "timestamp": 1733512434,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e75f8e0f-8f68-4c40-bb76-2010c41c579f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124336206779904989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:13:54.625 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@517a5b5c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:54.627 [print] Response: null 
0.006
* url apiURL 0.000
13:13:52.816 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.757
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Orcus" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.731
13:13:52.850 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1556b7be-6b0a-4d81-b984-02b380cba2de",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6840.73,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Orcus",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lucien58@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:54.576 response time in milliseconds: 1724
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:54",
  "timestamp": 1733512434,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1556b7be-6b0a-4d81-b984-02b380cba2de",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124336376933804984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:54.580 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@379e6cb3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:54.581 [print] Response: null 
0.005
* url apiURL 0.000
13:13:53.020 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.865
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.022
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Bellatrix" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.831
13:13:53.061 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d6ffed95-ae10-4b65-a90d-27f96cd6f474",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 277.19,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Bellatrix",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "jerome47@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:54.886 response time in milliseconds: 1821
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:55",
  "timestamp": 1733512435,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d6ffed95-ae10-4b65-a90d-27f96cd6f474",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124338776059304953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.003
13:13:54.893 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@78e452bd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:54.894 [print] Response: null 
0.002
* url apiURL 0.000
13:13:53.565 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.769
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Enyo" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.746
13:13:53.588 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ce204e18-19c9-4dd6-83d0-99d85b43fbf4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 632.04,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Enyo",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "fernanda7@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:55.331 response time in milliseconds: 1741
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:55",
  "timestamp": 1733512435,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ce204e18-19c9-4dd6-83d0-99d85b43fbf4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124344806293104988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:13:55.336 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@666f0e38",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:55.338 [print] Response: null 
0.003
* url apiURL 0.000
13:13:54.184 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.681
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Mortis" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.657
13:13:54.216 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a76f6725-38f7-4bb0-8866-1ee8cbc35007",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 158.19,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Mortis",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "freddie82@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:56.868 response time in milliseconds: 2649
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:57",
  "timestamp": 1733512437,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a76f6725-38f7-4bb0-8866-1ee8cbc35007",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124351436364704970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:56.870 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4aa1d5cd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:56.871 [print] Response: null 
0.003
* url apiURL 0.000
13:13:54.588 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.833
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.027
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Sinestro" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.799
13:13:54.627 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "25a680b3-bca8-46ae-b3d0-0347d98454dc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 2838.2,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Sinestro",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "palma86@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:56.423 response time in milliseconds: 1795
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:56",
  "timestamp": 1733512436,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "25a680b3-bca8-46ae-b3d0-0347d98454dc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124354086015304977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:56.424 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@183ae35c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:13:56.426 [print] Response: null 
0.008
* url apiURL 0.000
13:13:54.643 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.680
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Plague" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.660
13:13:54.675 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6ec8b218-92db-4f46-845e-8c6c725c96fe",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 574.4,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Plague",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "roberto66@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:56.333 response time in milliseconds: 1656
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:06 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:56",
  "timestamp": 1733512436,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6ec8b218-92db-4f46-845e-8c6c725c96fe",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124354526061504953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:56.335 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@71ebc0c4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:56.335 [print] Response: null 
0.005
* url apiURL 0.000
13:13:54.903 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.815
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Ares" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.798
13:13:54.930 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9094f9cb-ec53-487d-9bf8-4f780b2f9271",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 92.71,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Ares",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "toshiko0@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:56.726 response time in milliseconds: 1795
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:57",
  "timestamp": 1733512437,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9094f9cb-ec53-487d-9bf8-4f780b2f9271",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124357556881104960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:56.727 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@46d9221a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:56.727 [print] Response: null 
0.008
* url apiURL 0.000
13:13:55.349 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.667
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Charybdis" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.646
13:13:55.379 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a30f371e-e172-4cd3-a586-832fd526bfe3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 454.45,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Charybdis",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "lieselotte30@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:57.024 response time in milliseconds: 1640
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:57",
  "timestamp": 1733512437,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a30f371e-e172-4cd3-a586-832fd526bfe3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124361456779504978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:13:57.028 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1613279d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:57.029 [print] Response: null 
0.003
* url apiURL 0.000
13:13:56.339 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.917
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Phobos" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.893
13:13:56.369 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6c8b338f-6845-42eb-9c58-7146770426a7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 200.45,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Phobos",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "inge43@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:58.261 response time in milliseconds: 1891
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:08 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:58",
  "timestamp": 1733512438,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6c8b338f-6845-42eb-9c58-7146770426a7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124371546218304976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:58.263 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5f093e99",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:58.264 [print] Response: null 
0.008
* url apiURL 0.000
13:13:56.441 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.811
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Hades" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.792
13:13:56.473 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b8cfb9e2-c9c4-4528-83b5-4653ed58807f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 56.76,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Hades",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "cheri98@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:58.261 response time in milliseconds: 1787
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:08 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:58",
  "timestamp": 1733512438,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b8cfb9e2-c9c4-4528-83b5-4653ed58807f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124372826938204984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:58.263 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@300e88a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:58.264 [print] Response: null 
0.002
* url apiURL 0.000
13:13:56.730 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.043
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Drake" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.026
13:13:56.749 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e2f85dcc-eddb-4b78-b1fd-8d12bc84aed5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 761.14,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Drake",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "johnsie31@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:58.773 response time in milliseconds: 2023
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:58",
  "timestamp": 1733512438,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e2f85dcc-eddb-4b78-b1fd-8d12bc84aed5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124376606314404975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.003
13:13:58.777 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@312d54df",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:58.778 [print] Response: null 
0.012
* url apiURL 0.000
13:13:56.901 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.006
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.001
1.857
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.name = "Mordax" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.831
13:13:56.947 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "79510014-1e1a-4505-a827-c1b35899c305",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 51.01,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Mordax",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "warren32@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:58.773 response time in milliseconds: 1825
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:58",
  "timestamp": 1733512438,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "79510014-1e1a-4505-a827-c1b35899c305",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124377756368404970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.003
13:13:58.777 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@56aa942d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:58.778 [print] Response: null 
0.005
* url apiURL 0.000
13:13:57.035 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.732
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Grima" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.707
13:13:57.068 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4a1c2e6a-02db-4eeb-b58e-208ae5c57ea1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 84.9,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Grima",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "olympia0@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:13:58.773 response time in milliseconds: 1704
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:13:59",
  "timestamp": 1733512439,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4a1c2e6a-02db-4eeb-b58e-208ae5c57ea1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124378366972204956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:13:58.775 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@66549b72",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:13:58.775 [print] Response: null 
0.002
* url apiURL 0.000
13:13:58.269 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.975
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Loki" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.953
13:13:58.296 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3c2975ad-83d6-419f-b149-78a9ba51fca7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3006.37,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Loki",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "kymberly19@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:00.246 response time in milliseconds: 1947
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:00",
  "timestamp": 1733512440,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3c2975ad-83d6-419f-b149-78a9ba51fca7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124390676298104988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:00.249 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@43070ad6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:00.250 [print] Response: null 
0.002
* url apiURL 0.000
13:13:58.269 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.034
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Cruento" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.012
13:13:58.295 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "10b89caf-dc8c-4271-82e7-e40d06e63e0d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 1221.21,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Cruento",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "iola81@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:00.305 response time in milliseconds: 2007
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:00",
  "timestamp": 1733512440,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "10b89caf-dc8c-4271-82e7-e40d06e63e0d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124390986221104976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:00.308 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@702fdfa7",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:00.309 [print] Response: null 
0.003
* url apiURL 0.000
13:13:58.784 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.626
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.023
* set peticion.client.name = "Cruella" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.575
13:13:58.848 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a6a86808-b53c-4f26-8071-8c6abaf63f6f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 572.19,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Cruella",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "solomon84@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:00.414 response time in milliseconds: 1563
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:00",
  "timestamp": 1733512440,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a6a86808-b53c-4f26-8071-8c6abaf63f6f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124395606035404973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:14:00.419 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1dab22fa",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:00.420 [print] Response: null 
0.004
* url apiURL 0.000
13:13:58.793 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.931
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.044
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Vespera" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.875
13:13:58.850 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "512a1762-d72e-4c0d-ac3f-9ef80cc81328",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 977.79,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Vespera",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "janel8@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:00.722 response time in milliseconds: 1870
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:00",
  "timestamp": 1733512440,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "512a1762-d72e-4c0d-ac3f-9ef80cc81328",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124395186811804990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.002
13:14:00.725 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@effbd7d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.004
13:14:00.731 [print] Response: null 
0.003
* url apiURL 0.000
13:13:58.784 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.005
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.046
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Zagan" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.949
13:13:58.846 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "07a9a4c5-f523-46f3-b348-25f8b1cdec65",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 158.67,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Zagan",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "felisa26@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:00.790 response time in milliseconds: 1942
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:01",
  "timestamp": 1733512441,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "07a9a4c5-f523-46f3-b348-25f8b1cdec65",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124397516783004978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.005
13:14:00.796 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6ceaf467",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:14:00.798 [print] Response: null 
0.003
* url apiURL 0.000
13:14:00.257 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.790
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.009
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Bane" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.776
13:14:00.277 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cac5f2f2-9f1d-4fd3-a858-c0c712daad5a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 255.97,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Bane",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "clint49@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:02.051 response time in milliseconds: 1772
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:02",
  "timestamp": 1733512442,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cac5f2f2-9f1d-4fd3-a858-c0c712daad5a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124410336929404974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:02.054 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3d5bcee4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:02.054 [print] Response: null 
0.004
* url apiURL 0.000
13:14:00.313 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.858
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.name = "Mystique" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.842
13:14:00.334 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c82452bf-9204-499f-a7c7-3a5c19b11f48",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 28.99,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Mystique",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "robbie45@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:02.173 response time in milliseconds: 1836
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:02",
  "timestamp": 1733512442,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c82452bf-9204-499f-a7c7-3a5c19b11f48",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124411296784704978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:02.178 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@b401c20",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:02.178 [print] Response: null 
0.007
* url apiURL 0.000
13:14:00.425 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.078
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.name = "Hades" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.058
13:14:00.454 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aa87b5da-b51f-4ff4-bea4-2ca1cdd40dc1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 406.28,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Hades",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "manual44@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:02.508 response time in milliseconds: 2052
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:02",
  "timestamp": 1733512442,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "aa87b5da-b51f-4ff4-bea4-2ca1cdd40dc1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124413706022604977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:02.513 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@11494dda",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:02.514 [print] Response: null 
0.025
* url apiURL 0.000
13:14:00.768 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.004
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.008
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.004
* requestBody.transaction_id = uuid 0.000
1.908
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.027
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Nocturne" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.876
13:14:00.835 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6db32ee8-bb7d-404d-a04e-997c5aa8d172",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 302.78,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Nocturne",
    "maternal_surname": "Castorena",
    "email": "lorie95@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:02.703 response time in milliseconds: 1866
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:03",
  "timestamp": 1733512443,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6db32ee8-bb7d-404d-a04e-997c5aa8d172",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124416336783704982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:02.705 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@703ee891",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:02.705 [print] Response: null 
0.005
* url apiURL 0.000
13:14:00.822 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.811
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Crowley" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.786
13:14:00.855 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d9f4f38c-7b49-4fcc-946f-3c75708c61ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 599.9,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Crowley",
    "maternal_surname": "Castorena",
    "email": "soila77@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:03.637 response time in milliseconds: 2779
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:14 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:03",
  "timestamp": 1733512443,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d9f4f38c-7b49-4fcc-946f-3c75708c61ef",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124417326944404984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "68",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for review.",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "PENDING_REVIEW"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:03.642 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2c3ed24a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:03.644 [print] Response: null 
0.002
* url apiURL 0.000
13:14:02.058 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.928
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Blackfang" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.909
13:14:02.078 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ee1b14b6-c18e-4461-89cd-05a5fc0aa259",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 442.41,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Blackfang",
    "maternal_surname": "Castorena",
    "email": "franklyn60@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:03.983 response time in milliseconds: 1902
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:14 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:04",
  "timestamp": 1733512444,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ee1b14b6-c18e-4461-89cd-05a5fc0aa259",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124428866302804988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.003
13:14:03.990 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@57ef0291",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:03.991 [print] Response: null 
0.004
* url apiURL 0.000
13:14:02.187 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.234
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Slade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.214
13:14:02.215 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "77a4103a-dabc-4207-9186-140f8262f209",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 4145.55,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Slade",
    "maternal_surname": "Castorena",
    "email": "toccara92@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:04.409 response time in milliseconds: 2191
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:14 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:04",
  "timestamp": 1733512444,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "77a4103a-dabc-4207-9186-140f8262f209",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124430406946204984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:04.429 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1ab9758c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:04.430 [print] Response: null 
0.004
* url apiURL 0.000
13:14:02.520 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.889
* def peticion = requestBody 0.012
* set peticion.client.email = dataGenerator.getRandomEmail() 0.026
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Malstorm" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.844
13:14:02.574 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c0654ba8-f449-49f3-afe5-49db95ccf1e0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 239.89,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Malstorm",
    "maternal_surname": "Castorena",
    "email": "stasia80@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:04.414 response time in milliseconds: 1839
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:04",
  "timestamp": 1733512444,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c0654ba8-f449-49f3-afe5-49db95ccf1e0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124433616911704986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:04.415 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7387bc8d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:04.416 [print] Response: null 
0.004
* url apiURL 0.000
13:14:02.709 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.756
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Hellfire" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.728
13:14:02.740 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4dbf65a8-6d3e-4f5e-a351-d750ac5f548f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 87.17,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Hellfire",
    "maternal_surname": "Castorena",
    "email": "cari41@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:04.465 response time in milliseconds: 1724
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:04",
  "timestamp": 1733512444,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4dbf65a8-6d3e-4f5e-a351-d750ac5f548f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124435076040804973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.002
13:14:04.469 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2c56013c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:14:04.473 [print] Response: null 
0.004
* url apiURL 0.000
13:14:03.651 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.186
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.022
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Dread" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.156
13:14:03.686 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fa101492-257d-46d8-8e42-280491c50260",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 721.13,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Dread",
    "maternal_surname": "Castorena",
    "email": "earle71@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:05.838 response time in milliseconds: 2151
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:16 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:06",
  "timestamp": 1733512446,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fa101492-257d-46d8-8e42-280491c50260",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124445376071404953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:05.841 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3a6f8123",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:05.844 [print] Response: null 
0.003
* url apiURL 0.000
13:14:03.998 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.359
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Ashenvale" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.328
13:14:04.027 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9b7a5f49-69fe-4624-b9d2-d81b4a51b1e1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9837.52,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ashenvale",
    "maternal_surname": "Castorena",
    "email": "setsuko75@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:06.350 response time in milliseconds: 2322
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:16 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:06",
  "timestamp": 1733512446,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9b7a5f49-69fe-4624-b9d2-d81b4a51b1e1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124449566933504979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:06.352 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@16618ad2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.011
13:14:06.363 [print] Response: null 
0.002
* url apiURL 0.000
13:14:04.430 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.918
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.045
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.paternal_surname = "Darkwhisper" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.866
13:14:04.486 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6b422a4b-3acf-4a78-94e7-a45ce6b68dc4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 366.92,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Darkwhisper",
    "maternal_surname": "Castorena",
    "email": "wyatt85@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:06.350 response time in milliseconds: 1862
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:16 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:06",
  "timestamp": 1733512446,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6b422a4b-3acf-4a78-94e7-a45ce6b68dc4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124453606305904988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:06.352 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1f8c8f1d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:06.352 [print] Response: null 
0.003
* url apiURL 0.000
13:14:04.435 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.923
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.046
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.007
* set peticion.client.paternal_surname = "Darkbane" 0.011
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.842
13:14:04.513 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "53278cb9-098e-42e6-9c57-0967a5bdc2a1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3809.28,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Darkbane",
    "maternal_surname": "Castorena",
    "email": "ulysses46@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:06.350 response time in milliseconds: 1836
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:16 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:06",
  "timestamp": 1733512446,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "53278cb9-098e-42e6-9c57-0967a5bdc2a1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124453216305604988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.011
13:14:06.363 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@46b51e44",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:06.365 [print] Response: null 
0.004
* url apiURL 0.000
13:14:04.491 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.063
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Noire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.040
13:14:04.531 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "48f0256a-b373-42d4-98f9-4cc28d0345b4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 81.53,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Noire",
    "maternal_surname": "Castorena",
    "email": "natashia64@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:06.568 response time in milliseconds: 2034
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:06",
  "timestamp": 1733512446,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "48f0256a-b373-42d4-98f9-4cc28d0345b4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124454376788104982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:06.569 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@746d5150",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:06.569 [print] Response: null 
0.003
* url apiURL 0.000
13:14:05.850 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.929
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Reaver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.915
13:14:05.869 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "045cecf2-439d-4a3f-a67b-baf0da12c314",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 2775.77,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Reaver",
    "maternal_surname": "Castorena",
    "email": "horacio45@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:07.782 response time in milliseconds: 1911
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:08",
  "timestamp": 1733512448,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "045cecf2-439d-4a3f-a67b-baf0da12c314",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124468916720604985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:07.784 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2229ebf6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:07.785 [print] Response: null 
0.003
* url apiURL 0.000
13:14:06.357 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.836
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Draven" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.816
13:14:06.385 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c962796f-13e7-4c2f-97b7-c2675c0666a1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3289.31,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Draven",
    "maternal_surname": "Castorena",
    "email": "bryon35@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:08.196 response time in milliseconds: 1809
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:08",
  "timestamp": 1733512448,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c962796f-13e7-4c2f-97b7-c2675c0666a1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124471766790304982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:08.198 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4594d9f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:08.199 [print] Response: null 
0.006
* url apiURL 0.000
13:14:06.373 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.819
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Graver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.795
13:14:06.405 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "56c51ca9-5db1-4048-9523-867760645a81",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 934.88,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Graver",
    "maternal_surname": "Castorena",
    "email": "teressa69@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:08.196 response time in milliseconds: 1789
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:08",
  "timestamp": 1733512448,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "56c51ca9-5db1-4048-9523-867760645a81",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124471816230204976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:08.198 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4743860f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:08.200 [print] Response: null 
0.005
* url apiURL 0.000
13:14:06.373 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.964
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Acheron" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.945
13:14:06.401 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "92d6fb1e-feff-408c-9417-9a437fe5d7fd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 624.21,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Acheron",
    "maternal_surname": "Castorena",
    "email": "blanche32@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:08.342 response time in milliseconds: 1940
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:08",
  "timestamp": 1733512448,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "92d6fb1e-feff-408c-9417-9a437fe5d7fd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124471756378304970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:08.345 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@64cd8e9d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:08.346 [print] Response: null 
0.004
* url apiURL 0.000
13:14:06.578 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.665
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Grimm" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.642
13:14:06.614 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7f954e02-2deb-4bb6-a606-1336d61a6273",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 48.43,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Grimm",
    "maternal_surname": "Castorena",
    "email": "frankie67@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:08.247 response time in milliseconds: 1631
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:08",
  "timestamp": 1733512448,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7f954e02-2deb-4bb6-a606-1336d61a6273",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124473146951204984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:08.251 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@218db978",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:08.252 [print] Response: null 
0.001
* url apiURL 0.000
13:14:07.787 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.722
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Grimwald" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.703
13:14:07.806 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "41575016-1018-4615-b12f-c9ec7460ef2e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 662.7,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Grimwald",
    "maternal_surname": "Castorena",
    "email": "laila19@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:09.507 response time in milliseconds: 1700
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:09",
  "timestamp": 1733512449,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "41575016-1018-4615-b12f-c9ec7460ef2e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124484676937704979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:09.511 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4ef46762",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:09.513 [print] Response: null 
0.005
* url apiURL 0.000
13:14:08.208 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.836
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Crimson" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.812
13:14:08.239 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0d9457bc-1a4b-4716-b5e9-692ba072ba47",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 45.91,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Crimson",
    "maternal_surname": "Castorena",
    "email": "sheilah21@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:10.048 response time in milliseconds: 1809
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:10",
  "timestamp": 1733512450,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0d9457bc-1a4b-4716-b5e9-692ba072ba47",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124490226327804975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:10.050 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@112fd871",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:10.052 [print] Response: null 
0.004
* url apiURL 0.000
13:14:08.205 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.832
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Blackthorn" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.804
13:14:08.241 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7afad23f-bb16-4594-b84a-be73507ae98f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 188.32,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Blackthorn",
    "maternal_surname": "Castorena",
    "email": "jasmine81@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:10.040 response time in milliseconds: 1796
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:10",
  "timestamp": 1733512450,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7afad23f-bb16-4594-b84a-be73507ae98f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124489416309804988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:10.044 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@595e9c2e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:10.045 [print] Response: null 
0.004
* url apiURL 0.000
13:14:08.258 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.874
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Grimmore" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.843
13:14:08.295 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d11c2fa6-4315-4205-adc4-e552f37fbdf1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 226.48,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Grimmore",
    "maternal_surname": "Castorena",
    "email": "rosalina32@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:10.133 response time in milliseconds: 1837
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:10",
  "timestamp": 1733512450,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d11c2fa6-4315-4205-adc4-e552f37fbdf1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124490586309904988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:10.138 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4865bbd8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:14:10.141 [print] Response: null 
0.002
* url apiURL 0.000
13:14:08.355 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.766
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.023
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Blake" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.733
13:14:08.390 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b205cc0c-861f-45dc-8d43-e4b39d445d3a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 74.17,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Blake",
    "maternal_surname": "Castorena",
    "email": "gregorio57@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:10.118 response time in milliseconds: 1726
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:10",
  "timestamp": 1733512450,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b205cc0c-861f-45dc-8d43-e4b39d445d3a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124491726076504953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:10.123 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6a93bba0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:10.125 [print] Response: null 
0.004
* url apiURL 0.000
13:14:09.519 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.049
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Crow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.034
13:14:09.541 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b6fb2c6e-49fc-4253-bd2d-a3c4e0fdb11e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 2886.83,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Crow",
    "maternal_surname": "Castorena",
    "email": "shiela9@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:11.573 response time in milliseconds: 2031
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:11",
  "timestamp": 1733512451,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b6fb2c6e-49fc-4253-bd2d-a3c4e0fdb11e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124504516881604987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:11.575 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@44804dc1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:11.575 [print] Response: null 
0.005
* url apiURL 0.000
13:14:10.049 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.774
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Moriarty" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.755
13:14:10.079 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "646cd11a-1308-4a7b-bcb5-091d03b7e676",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 32.21,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Moriarty",
    "maternal_surname": "Castorena",
    "email": "susan43@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:11.830 response time in milliseconds: 1748
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:12",
  "timestamp": 1733512452,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "646cd11a-1308-4a7b-bcb5-091d03b7e676",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124507836955504984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:11.831 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@32a18172",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:11.831 [print] Response: null 
0.006
* url apiURL 0.000
13:14:10.066 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.725
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Gravesend" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.687
13:14:10.104 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ccdbd618-58b4-40f1-bdc8-d8352ba618d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 737.52,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Gravesend",
    "maternal_surname": "Castorena",
    "email": "shonta37@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:11.786 response time in milliseconds: 1675
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:12",
  "timestamp": 1733512452,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ccdbd618-58b4-40f1-bdc8-d8352ba618d5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124508246823804990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.005
13:14:11.794 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6a3fb993",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.009
13:14:11.804 [print] Response: null 
0.006
* url apiURL 0.000
13:14:10.135 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.080
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Gorefiend" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.058
13:14:10.167 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5f83d3cd-ef48-472c-82fa-0bfca43582ea",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 227.29,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Gorefiend",
    "maternal_surname": "Castorena",
    "email": "clair44@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:12.223 response time in milliseconds: 2054
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:12",
  "timestamp": 1733512452,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5f83d3cd-ef48-472c-82fa-0bfca43582ea",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124510876988504956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:12.226 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7ce79c7a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:12.226 [print] Response: null 
0.009
* url apiURL 0.000
13:14:10.150 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.005
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.851
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Bloodmoon" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.827
13:14:10.194 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c6e0a826-08ca-4e41-9665-9d6952d6bb09",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 45.45,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Bloodmoon",
    "maternal_surname": "Castorena",
    "email": "yessenia67@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:12.011 response time in milliseconds: 1815
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:12",
  "timestamp": 1733512452,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c6e0a826-08ca-4e41-9665-9d6952d6bb09",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124509916635104983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:12.015 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1f9f4fc9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:12.017 [print] Response: null 
0.001
* url apiURL 0.000
13:14:11.580 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.840
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.008
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Thornheart" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.829
13:14:11.594 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b9230bdc-e471-44b0-ad20-9de72e27daaf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 82.49,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Thornheart",
    "maternal_surname": "Castorena",
    "email": "miranda100@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:13.420 response time in milliseconds: 1825
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:13",
  "timestamp": 1733512453,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b9230bdc-e471-44b0-ad20-9de72e27daaf",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124523086051504973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:13.423 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6dcc56f1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:13.423 [print] Response: null 
0.003
* url apiURL 0.000
13:14:11.838 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.973
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Eldergloom" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.949
13:14:11.876 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "44e8887a-22b8-45df-9822-d745eeee985b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 872.9,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Eldergloom",
    "maternal_surname": "Castorena",
    "email": "diedre17@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:13.819 response time in milliseconds: 1940
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:14",
  "timestamp": 1733512454,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "44e8887a-22b8-45df-9822-d745eeee985b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124527166637504983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:13.822 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@52bab5a8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:13.823 [print] Response: null 
0.003
* url apiURL 0.000
13:14:11.848 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.876
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.030
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.016
* set peticion.client.paternal_surname = "Raventhorn" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.826
13:14:11.922 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7a144931-2b03-4172-924f-aee464ed34db",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6159.29,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Raventhorn",
    "maternal_surname": "Castorena",
    "email": "german4@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:13.728 response time in milliseconds: 1804
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:14",
  "timestamp": 1733512454,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7a144931-2b03-4172-924f-aee464ed34db",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124527116798704978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:13.729 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@68ada36e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:13.729 [print] Response: null 
0.003
* url apiURL 0.000
13:14:12.027 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.970
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.004
* set peticion.client.paternal_surname = "Redthorne" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.941
13:14:12.059 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ebdb4abc-061c-43c2-8288-a0b0008161e2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 74.74,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Redthorne",
    "maternal_surname": "Castorena",
    "email": "eugene91@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:13.997 response time in milliseconds: 1936
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:14",
  "timestamp": 1733512454,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ebdb4abc-061c-43c2-8288-a0b0008161e2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124529506332504975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:14.002 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@52a3a69e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:14.004 [print] Response: null 
0.001
* url apiURL 0.000
13:14:12.229 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.728
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Shadeweaver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.678
13:14:12.248 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "87f5ecd0-81c1-4257-930d-0cecd5670fc1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 907.28,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Shadeweaver",
    "maternal_surname": "Castorena",
    "email": "lucia39@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:13.924 response time in milliseconds: 1672
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:14",
  "timestamp": 1733512454,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "87f5ecd0-81c1-4257-930d-0cecd5670fc1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124530196236404976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.023
13:14:13.951 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@77adc50a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.008
13:14:13.959 [print] Response: null 
0.001
* url apiURL 0.000
13:14:13.428 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.935
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Vossler" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.918
13:14:13.445 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "22aa9d92-55f4-49c7-9a35-7cd00748846c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 88.73,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Vossler",
    "maternal_surname": "Castorena",
    "email": "natashia0@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:15.363 response time in milliseconds: 1917
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:25 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:15",
  "timestamp": 1733512455,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "22aa9d92-55f4-49c7-9a35-7cd00748846c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124541606639404983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:15.364 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@74d653fc",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:15.365 [print] Response: null 
0.001
* url apiURL 0.000
13:14:13.731 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.742
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Sable" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.723
13:14:13.751 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a0b0a2db-cc23-43dc-a96b-1067928292e4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 847.35,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Sable",
    "maternal_surname": "Castorena",
    "email": "rosette24@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:15.472 response time in milliseconds: 1719
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:15",
  "timestamp": 1733512455,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a0b0a2db-cc23-43dc-a96b-1067928292e4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124545566886504987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:15.475 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@31ddb274",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:15.477 [print] Response: null 
0.009
* url apiURL 0.000
13:14:13.863 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.001
1.584
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Hallow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.560
13:14:13.899 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2a761cee-f514-4c17-9dcd-77c872d20598",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 841.4,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Hallow",
    "maternal_surname": "Castorena",
    "email": "jarod28@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:15.455 response time in milliseconds: 1555
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:15",
  "timestamp": 1733512455,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2a761cee-f514-4c17-9dcd-77c872d20598",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124545746082604953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:14:15.461 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5538ea22",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:15.463 [print] Response: null 
0.006
* url apiURL 0.000
13:14:13.997 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.422
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Deathwhisper" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.400
13:14:14.036 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7eceabae-812b-40e7-b444-4ca976c0458a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6699.28,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Deathwhisper",
    "maternal_surname": "Castorena",
    "email": "darin24@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:16.430 response time in milliseconds: 2393
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:16",
  "timestamp": 1733512456,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7eceabae-812b-40e7-b444-4ca976c0458a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124549676799304982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:16.431 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@12a7c896",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:16.431 [print] Response: null 
0.010
* url apiURL 0.000
13:14:14.013 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.853
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Shade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.828
13:14:14.055 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "16b4a653-7b1c-482f-aa97-69fd8d8b7db8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 693.1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Shade",
    "maternal_surname": "Castorena",
    "email": "vivan20@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:15.879 response time in milliseconds: 1822
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:16",
  "timestamp": 1733512456,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "16b4a653-7b1c-482f-aa97-69fd8d8b7db8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124547716799004982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:15.881 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3ac731b0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:15.882 [print] Response: null 
0.003
* url apiURL 0.000
13:14:15.377 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.726
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Steelclaw" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.710
13:14:15.397 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "79a8fdf7-3a01-4568-9927-513c02ad2995",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 156.86,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Steelclaw",
    "maternal_surname": "Castorena",
    "email": "jamaal28@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:17.105 response time in milliseconds: 1706
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:17",
  "timestamp": 1733512457,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "79a8fdf7-3a01-4568-9927-513c02ad2995",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124561316388004970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:17.108 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@412a4d74",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:17.109 [print] Response: null 
0.003
* url apiURL 0.000
13:14:15.472 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.859
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Blackwood" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.830
13:14:15.501 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "65018ee9-3a01-4c19-ac4e-9349e5d7e781",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 434.54,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Blackwood",
    "maternal_surname": "Castorena",
    "email": "brice79@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:17.326 response time in milliseconds: 1819
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:17",
  "timestamp": 1733512457,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "65018ee9-3a01-4c19-ac4e-9349e5d7e781",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124562046731104985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.005
13:14:17.333 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@752aeab9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:14:17.337 [print] Response: null 
0.004
* url apiURL 0.000
13:14:15.491 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.724
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.paternal_surname = "Bloodhart" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.704
13:14:15.522 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "306963e3-7c81-47be-9caa-706eef9f7240",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 93.87,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Bloodhart",
    "maternal_surname": "Castorena",
    "email": "albertine79@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:17.221 response time in milliseconds: 1696
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:17",
  "timestamp": 1733512457,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "306963e3-7c81-47be-9caa-706eef9f7240",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "12"
  },
  "decision_manager": {
    "id": "7335124563096084704953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:17.224 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1d53e232",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:17.224 [print] Response: null 
0.003
* url apiURL 0.000
13:14:15.887 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.832
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Skullworth" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.814
13:14:15.909 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d654acc6-822e-4e04-81ad-0ba1c65dc24b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 414.98,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Skullworth",
    "maternal_surname": "Castorena",
    "email": "claudio43@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:17.719 response time in milliseconds: 1808
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:17",
  "timestamp": 1733512457,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d654acc6-822e-4e04-81ad-0ba1c65dc24b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124567596801004982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:17.723 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7be11b42",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:17.724 [print] Response: null 
0.003
* url apiURL 0.000
13:14:16.435 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.458
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Shadowmend" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.444
13:14:16.456 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "70706218-ba36-43ed-885b-0f58cbcf7653",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6960.55,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Shadowmend",
    "maternal_surname": "Castorena",
    "email": "tashia98@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:18.897 response time in milliseconds: 2441
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:19",
  "timestamp": 1733512459,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "70706218-ba36-43ed-885b-0f58cbcf7653",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124572536905104960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:18.898 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7c484495",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:18.899 [print] Response: null 
0.004
* url apiURL 0.000
13:14:17.116 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.951
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Mordred" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.929
13:14:17.148 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8eeda63e-89d3-4fee-8bec-f9ed60849fbf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 585.55,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Mordred",
    "maternal_surname": "Castorena",
    "email": "devin40@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:19.072 response time in milliseconds: 1922
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:19",
  "timestamp": 1733512459,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8eeda63e-89d3-4fee-8bec-f9ed60849fbf",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124579906320604988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:19.074 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@66dae370",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:19.075 [print] Response: null 
0.016
* url apiURL 0.000
13:14:17.228 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.007
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.001
2.215
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.032
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Macabre" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.172
13:14:17.311 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1f08ba6f-54e8-4c88-8fab-0f646b613ae1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 913.85,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Macabre",
    "maternal_surname": "Castorena",
    "email": "erik17@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:19.460 response time in milliseconds: 2147
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:19",
  "timestamp": 1733512459,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1f08ba6f-54e8-4c88-8fab-0f646b613ae1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124581366338104975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:14:19.466 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@19a5cfdf",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:14:19.468 [print] Response: null 
0.005
* url apiURL 0.000
13:14:17.352 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.663
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Blackfyre" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.637
13:14:17.391 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4297ad73-5be4-4b55-95ad-ed5f864852f5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 94.68,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Blackfyre",
    "maternal_surname": "Castorena",
    "email": "burt80@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:19.022 response time in milliseconds: 1630
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:19",
  "timestamp": 1733512459,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4297ad73-5be4-4b55-95ad-ed5f864852f5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124581356890304987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:19.024 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1b30c356",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:19.025 [print] Response: null 
0.001
* url apiURL 0.000
13:14:17.730 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.849
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Blut" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.826
13:14:17.754 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aa4e5731-af20-407c-aef9-f6c578714f4a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 161.24,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Blut",
    "maternal_surname": "Castorena",
    "email": "fredericka34@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:19.576 response time in milliseconds: 1821
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:19",
  "timestamp": 1733512459,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "aa4e5731-af20-407c-aef9-f6c578714f4a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124585526803204982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:19.581 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@f35dbf2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:19.583 [print] Response: null 
0.004
* url apiURL 0.000
13:14:18.906 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.958
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Ravenwood" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.932
13:14:18.937 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "61cbfefe-d1ef-4dd3-97ae-497a7bc901db",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 7804.08,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ravenwood",
    "maternal_surname": "Castorena",
    "email": "porfirio24@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:20.867 response time in milliseconds: 1929
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:21",
  "timestamp": 1733512461,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "61cbfefe-d1ef-4dd3-97ae-497a7bc901db",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124597426243404976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:20.870 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@22fa3ea5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:20.872 [print] Response: null 
0.001
* url apiURL 0.000
13:14:19.034 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.891
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Steelbane" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.874
13:14:19.055 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3d4604be-09db-4187-9c37-04307ce95575",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 316.1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Steelbane",
    "maternal_surname": "Castorena",
    "email": "willie63@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:20.927 response time in milliseconds: 1872
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:21",
  "timestamp": 1733512461,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3d4604be-09db-4187-9c37-04307ce95575",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124598266966504984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:20.928 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7e7a6a12",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:20.928 [print] Response: null 
0.007
* url apiURL 0.000
13:14:19.089 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.837
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Bloodworth" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.816
13:14:19.122 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "05ec25ca-d256-4e8f-a7bb-08dbb5e7a075",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 57.01,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Bloodworth",
    "maternal_surname": "Castorena",
    "email": "graig94@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:20.933 response time in milliseconds: 1809
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:21",
  "timestamp": 1733512461,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "05ec25ca-d256-4e8f-a7bb-08dbb5e7a075",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124599166833904990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:20.936 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7c62a65",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:20.937 [print] Response: null 
0.006
* url apiURL 0.000
13:14:19.474 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.860
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Hellwalker" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.847
13:14:19.494 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1116fd4f-a82e-4eba-a554-bdd1c900a809",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 54.12,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Hellwalker",
    "maternal_surname": "Castorena",
    "email": "taina88@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:21.339 response time in milliseconds: 1843
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:21",
  "timestamp": 1733512461,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1116fd4f-a82e-4eba-a554-bdd1c900a809",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124602966998404956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:21.342 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@762a4449",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:21.342 [print] Response: null 
0.002
* url apiURL 0.000
13:14:19.588 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.025
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Sanguine" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.009
13:14:19.607 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a9b10a89-53fe-4c9a-aac8-8dc145bb1f34",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 591.04,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Sanguine",
    "maternal_surname": "Castorena",
    "email": "carli99@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:21.614 response time in milliseconds: 2005
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:21",
  "timestamp": 1733512461,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a9b10a89-53fe-4c9a-aac8-8dc145bb1f34",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124605146932504986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:21.617 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@d601b9b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:21.617 [print] Response: null 
0.003
* url apiURL 0.000
13:14:20.880 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.788
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.009
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Savage" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.776
13:14:20.898 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b1d002fb-5ae0-4ca7-bfa0-f456666a1cd4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 86.56,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Savage",
    "maternal_surname": "Castorena",
    "email": "ivey0@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:22.672 response time in milliseconds: 1774
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:22",
  "timestamp": 1733512462,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b1d002fb-5ae0-4ca7-bfa0-f456666a1cd4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124617766933804986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:22.673 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7d9c45d8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:22.674 [print] Response: null 
0.003
* url apiURL 0.000
13:14:20.935 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.946
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Bloodstone" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.915
13:14:20.963 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bc78c9a4-d244-421f-a57e-ba6aefc1b68c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 658.89,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Bloodstone",
    "maternal_surname": "Castorena",
    "email": "dewayne51@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:22.873 response time in milliseconds: 1907
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:23",
  "timestamp": 1733512463,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bc78c9a4-d244-421f-a57e-ba6aefc1b68c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124618386605504980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.009
13:14:22.885 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7492dfad",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:14:22.887 [print] Response: null 
0.005
* url apiURL 0.000
13:14:20.946 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.888
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Bonebreaker" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.870
13:14:20.969 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e6426c3a-1421-489a-8ac3-c80b51180d85",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 31.12,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Bonebreaker",
    "maternal_surname": "Castorena",
    "email": "leonard58@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:22.837 response time in milliseconds: 1865
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:23",
  "timestamp": 1733512463,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e6426c3a-1421-489a-8ac3-c80b51180d85",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "9"
  },
  "decision_manager": {
    "id": "7335124617906341804975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:22.841 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@128d5b15",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:22.842 [print] Response: null 
0.002
* url apiURL 0.000
13:14:21.345 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.784
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Tenebris" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.766
13:14:21.365 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "26fa2c9c-731b-488c-8130-bd133a802ea1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9044.53,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Tenebris",
    "maternal_surname": "Castorena",
    "email": "gilberto94@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:23.129 response time in milliseconds: 1761
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:23",
  "timestamp": 1733512463,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "26fa2c9c-731b-488c-8130-bd133a802ea1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124622326952704979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:23.133 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5c7229a1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:23.135 [print] Response: null 
0.002
* url apiURL 0.000
13:14:21.619 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.776
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Voss" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.756
13:14:21.641 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "995c6243-f039-40cd-b2bd-3130dc737bad",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 941.97,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Voss",
    "maternal_surname": "Castorena",
    "email": "delfina59@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:23.393 response time in milliseconds: 1750
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:23",
  "timestamp": 1733512463,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "995c6243-f039-40cd-b2bd-3130dc737bad",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124624746969104984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:23.398 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@513f1aa2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:23.400 [print] Response: null 
0.004
* url apiURL 0.000
13:14:22.679 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.689
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Fang" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.667
13:14:22.710 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d841e088-80da-40ca-aa7e-aadbcde6f8ba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 4249.03,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Fang",
    "maternal_surname": "Castorena",
    "email": "jermaine98@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:24.374 response time in milliseconds: 1664
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:24",
  "timestamp": 1733512464,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d841e088-80da-40ca-aa7e-aadbcde6f8ba",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124634296650404983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:24.375 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2d3970e6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:24.376 [print] Response: null 
0.006
* url apiURL 0.000
13:14:22.900 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.982
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.054
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.paternal_surname = "Riven" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.922
13:14:22.981 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a33f355d-fd97-40ed-b0ad-ebf623729d02",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 5665.91,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Riven",
    "maternal_surname": "Castorena",
    "email": "violette55@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:24.890 response time in milliseconds: 1908
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:25",
  "timestamp": 1733512465,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a33f355d-fd97-40ed-b0ad-ebf623729d02",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124637746897104987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:24.891 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@48b29d9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:24.892 [print] Response: null 
0.003
* url apiURL 0.000
13:14:22.905 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.077
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.080
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.paternal_surname = "Duskmire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.987
13:14:22.999 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2543933f-892c-46c6-a5fd-1fd3dc151078",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 414.94,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Duskmire",
    "maternal_surname": "Castorena",
    "email": "donald59@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:24.981 response time in milliseconds: 1980
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:25",
  "timestamp": 1733512465,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2543933f-892c-46c6-a5fd-1fd3dc151078",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124638456094104953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:14:24.986 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@506b296c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:24.988 [print] Response: null 
0.003
* url apiURL 0.000
13:14:23.139 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.842
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Vein" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.826
13:14:23.160 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "993fd55b-0c1a-4e12-a0d4-c12ed3fcd9ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 998.51,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Vein",
    "maternal_surname": "Castorena",
    "email": "creola64@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:24.984 response time in milliseconds: 1823
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:25",
  "timestamp": 1733512465,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "993fd55b-0c1a-4e12-a0d4-c12ed3fcd9ef",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124640206247904976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:24.986 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@25fd50a5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:24.987 [print] Response: null 
0.006
* url apiURL 0.000
13:14:23.408 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.987
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.paternal_surname = "Mordain" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.961
13:14:23.445 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "daa89090-e1c7-45ef-a6e9-a3f2d51f6aad",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3100.77,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Mordain",
    "maternal_surname": "Castorena",
    "email": "neely18@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:25.402 response time in milliseconds: 1955
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:25",
  "timestamp": 1733512465,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "daa89090-e1c7-45ef-a6e9-a3f2d51f6aad",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124642826608004980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:25.404 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7266c437",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:25.404 [print] Response: null 
0.005
* url apiURL 0.000
13:14:24.384 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.960
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Crowforge" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.946
13:14:24.408 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "05c8a6d1-f72b-485b-858e-74c1fab7c77d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 74.1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Crowforge",
    "maternal_surname": "Castorena",
    "email": "miss94@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:26.352 response time in milliseconds: 1943
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:26",
  "timestamp": 1733512466,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "05c8a6d1-f72b-485b-858e-74c1fab7c77d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124653376398704970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:26.352 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3004184f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:26.353 [print] Response: null 
0.003
* url apiURL 0.000
13:14:24.896 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.731
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.009
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Cruor" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.718
13:14:24.912 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8a249e59-4a97-47a0-8c1c-39c82b7fd7b9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 24.5,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Cruor",
    "maternal_surname": "Castorena",
    "email": "jerrod44@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:26.630 response time in milliseconds: 1715
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:26",
  "timestamp": 1733512466,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8a249e59-4a97-47a0-8c1c-39c82b7fd7b9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124657476096404953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:26.632 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@43cdcc11",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:26.633 [print] Response: null 
0.001
* url apiURL 0.000
13:14:24.991 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.054
* def peticion = requestBody 0.001
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Sinhar" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.032
13:14:25.014 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6f982adc-e9ff-4c4c-854b-374712dfa3cb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 697.17,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Sinhar",
    "maternal_surname": "Castorena",
    "email": "kyoko14@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:27.042 response time in milliseconds: 2024
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:27",
  "timestamp": 1733512467,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6f982adc-e9ff-4c4c-854b-374712dfa3cb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124659306915704960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.000
13:14:27.048 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@11fec5fd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:27.048 [print] Response: null 
0.004
* url apiURL 0.000
13:14:24.992 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.667
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Scourge" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.646
13:14:25.021 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9612109e-27a1-4a56-9c05-13bdb4c76656",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 32.54,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Scourge",
    "maternal_surname": "Castorena",
    "email": "tabatha100@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:26.644 response time in milliseconds: 1621
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:26",
  "timestamp": 1733512466,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9612109e-27a1-4a56-9c05-13bdb4c76656",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124657416810804982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:26.664 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@73cc03da",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:26.665 [print] Response: null 
0.003
* url apiURL 0.000
13:14:25.411 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.643
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Oblivion" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.623
13:14:25.437 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1567a3a7-a74d-43d7-b7d1-8626135aeebb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 665.82,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Oblivion",
    "maternal_surname": "Castorena",
    "email": "kristofer70@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:27.058 response time in milliseconds: 1618
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:27",
  "timestamp": 1733512467,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1567a3a7-a74d-43d7-b7d1-8626135aeebb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124661926840804990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:27.060 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@734fd38e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:27.061 [print] Response: null 
0.001
* url apiURL 0.000
13:14:26.355 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.918
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Sinclaire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.897
13:14:26.373 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a9f687f7-6f0a-41fc-9422-c6e0ea152275",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 897.32,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Sinclaire",
    "maternal_surname": "Castorena",
    "email": "katharine64@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:28.267 response time in milliseconds: 1893
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:28",
  "timestamp": 1733512468,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a9f687f7-6f0a-41fc-9422-c6e0ea152275",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124671636841504990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.003
13:14:28.273 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@78f73a27",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:14:28.276 [print] Response: null 
0.002
* url apiURL 0.000
13:14:26.642 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.777
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Gallows" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.761
13:14:26.672 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dc09c032-9ea1-437f-ac63-fcbd06e0178d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 803.33,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Gallows",
    "maternal_surname": "Castorena",
    "email": "elizebeth17@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:28.431 response time in milliseconds: 1757
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:28",
  "timestamp": 1733512468,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "dc09c032-9ea1-437f-ac63-fcbd06e0178d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124674696767704981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:28.434 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@76bb0a99",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:28.435 [print] Response: null 
0.002
* url apiURL 0.000
13:14:26.670 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.640
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.037
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.023
* set peticion.client.paternal_surname = "Crimsonmoon" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.577
13:14:26.755 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5ba49c8d-0682-47e8-b80a-71808cf7f922",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 922.01,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Crimsonmoon",
    "maternal_surname": "Castorena",
    "email": "berry39@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:28.313 response time in milliseconds: 1556
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:28",
  "timestamp": 1733512468,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5ba49c8d-0682-47e8-b80a-71808cf7f922",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124674546917804960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:28.315 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2a4fcfb1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:28.315 [print] Response: null 
0.004
* url apiURL 0.000
13:14:27.057 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.998
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.037
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.paternal_surname = "Ravencroft" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.950
13:14:27.110 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2fe7292b-ea42-4a8c-a7ac-0a8506ecdcc8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 428.61,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ravencroft",
    "maternal_surname": "Castorena",
    "email": "howard3@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:29.056 response time in milliseconds: 1943
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:29",
  "timestamp": 1733512469,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2fe7292b-ea42-4a8c-a7ac-0a8506ecdcc8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124678736975204984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:14:29.062 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@55f2626d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:29.063 [print] Response: null 
0.002
* url apiURL 0.000
13:14:27.067 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.883
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.035
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Vandran" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.842
13:14:27.110 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aba5535f-f9d0-4acf-83ba-bb9d90637fc9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 62.91,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Vandran",
    "maternal_surname": "Castorena",
    "email": "elvin90@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:28.949 response time in milliseconds: 1838
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:29",
  "timestamp": 1733512469,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "aba5535f-f9d0-4acf-83ba-bb9d90637fc9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124679206816704978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:28.953 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@66e59d99",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:28.954 [print] Response: null 
0.006
* url apiURL 0.000
13:14:28.283 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.766
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Graves" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.747
13:14:28.312 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0ffe3344-2126-4652-b018-fe73f91ff005",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 701.09,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Graves",
    "maternal_surname": "Castorena",
    "email": "gilda92@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:30.055 response time in milliseconds: 1743
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:30",
  "timestamp": 1733512470,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0ffe3344-2126-4652-b018-fe73f91ff005",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124690296960404974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:30.058 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5264a428",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:30.058 [print] Response: null 
0.005
* url apiURL 0.000
13:14:28.323 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.872
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Ebonheart" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.853
13:14:28.349 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d9141652-92ee-49ba-ba91-f9e240e3f57a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 514.63,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ebonheart",
    "maternal_surname": "Castorena",
    "email": "minh38@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:30.200 response time in milliseconds: 1849
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:30",
  "timestamp": 1733512470,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d9141652-92ee-49ba-ba91-f9e240e3f57a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124690346614004980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:30.204 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1e1f669c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:30.204 [print] Response: null 
0.003
* url apiURL 0.000
13:14:28.448 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.812
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Ravenshadow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.787
13:14:28.472 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6c962aff-0228-406e-8b3c-9d070c1e5f93",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 17.2,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ravenshadow",
    "maternal_surname": "Castorena",
    "email": "donnetta26@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:30.255 response time in milliseconds: 1782
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:30",
  "timestamp": 1733512470,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6c962aff-0228-406e-8b3c-9d070c1e5f93",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124692706100504953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.004
* print 'Request:', karate.prevRequest 0.002
13:14:30.263 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4571c1de",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:14:30.267 [print] Response: null 
0.001
* url apiURL 0.000
13:14:28.959 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.081
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Skullcrusher" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.062
13:14:28.980 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f483fcad-50c8-4d3c-a398-b9a3c75e9b3d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 869.9,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Skullcrusher",
    "maternal_surname": "Castorena",
    "email": "blake34@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:31.039 response time in milliseconds: 2057
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:41 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:31",
  "timestamp": 1733512471,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f483fcad-50c8-4d3c-a398-b9a3c75e9b3d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124697516904904987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:31.042 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@22e05c0e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:31.043 [print] Response: null 
0.007
* url apiURL 0.000
13:14:29.071 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.960
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Shroud" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.938
13:14:29.106 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a391ff4f-c8f2-4a04-9710-2179453b145f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 652.54,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Shroud",
    "maternal_surname": "Castorena",
    "email": "dominic41@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:31.039 response time in milliseconds: 1931
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:41 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:31",
  "timestamp": 1733512471,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a391ff4f-c8f2-4a04-9710-2179453b145f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124700506615804980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:31.042 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@c228bc",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:31.043 [print] Response: null 
0.002
* url apiURL 0.000
13:14:30.065 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.782
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Evershadow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.766
13:14:30.086 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "53573178-753c-413c-952f-fcf002668dd0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 918.21,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Evershadow",
    "maternal_surname": "Castorena",
    "email": "grazyna45@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:31.851 response time in milliseconds: 1764
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:32",
  "timestamp": 1733512472,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "53573178-753c-413c-952f-fcf002668dd0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124708606256504976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:31.852 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@21b0469a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:31.852 [print] Response: null 
0.001
* url apiURL 0.000
13:14:30.209 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.050
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Ravencrest" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.027
13:14:30.235 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "67adb92c-045a-42c9-a9ed-f319ebc44731",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6947.08,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ravencrest",
    "maternal_surname": "Castorena",
    "email": "jon70@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:32.258 response time in milliseconds: 2022
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:32",
  "timestamp": 1733512472,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "67adb92c-045a-42c9-a9ed-f319ebc44731",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124711486012404956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:32.261 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@58ae47ef",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:32.262 [print] Response: null 
0.006
* url apiURL 0.000
13:14:30.277 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.386
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Bane" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.365
13:14:30.312 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "15d5c7d9-f6b2-4711-a861-47dfbb1bc311",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 572.38,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Bane",
    "maternal_surname": "Castorena",
    "email": "lesli55@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:32.672 response time in milliseconds: 2357
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:43 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:32",
  "timestamp": 1733512472,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "15d5c7d9-f6b2-4711-a861-47dfbb1bc311",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124711166817504982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:32.675 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@499cae03",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:32.676 [print] Response: null 
0.004
* url apiURL 0.000
13:14:31.048 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.128
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.023
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Blight" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.101
13:14:31.087 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ee7db81e-8dbf-4296-b19b-69cc4c7ea1c5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 684.97,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Blight",
    "maternal_surname": "Castorena",
    "email": "anjelica67@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:33.183 response time in milliseconds: 2095
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:43 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:33",
  "timestamp": 1733512473,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ee7db81e-8dbf-4296-b19b-69cc4c7ea1c5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124719166818404982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:33.184 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2e6484a7",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:33.185 [print] Response: null 
0.012
* url apiURL 0.000
13:14:31.048 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.010
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.625
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Ebonbane" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.598
13:14:31.089 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9711a059-d17c-4f59-a9b8-dca8a527b58c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 357.1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ebonbane",
    "maternal_surname": "Castorena",
    "email": "isa60@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:32.683 response time in milliseconds: 1591
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:43 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:32",
  "timestamp": 1733512472,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9711a059-d17c-4f59-a9b8-dca8a527b58c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124718026057704977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:32.687 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@564a978",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:32.689 [print] Response: null 
0.002
* url apiURL 0.000
13:14:31.862 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.633
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.030
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Hellstrom" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.593
13:14:31.903 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bb1e0a07-7622-4be1-8655-300475bc184d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 619.03,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Hellstrom",
    "maternal_surname": "Castorena",
    "email": "sharan92@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:33.494 response time in milliseconds: 1588
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:33",
  "timestamp": 1733512473,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bb1e0a07-7622-4be1-8655-300475bc184d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124725996059004977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:14:33.499 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@63e3d11e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:33.500 [print] Response: null 
0.002
* url apiURL 0.000
13:14:32.273 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.939
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Mournshade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.922
13:14:32.297 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b3b0eb35-65b8-4546-92c4-a7bcde044dc8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 75.62,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Mournshade",
    "maternal_surname": "Castorena",
    "email": "darryl38@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:34.215 response time in milliseconds: 1916
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:34",
  "timestamp": 1733512474,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b3b0eb35-65b8-4546-92c4-a7bcde044dc8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124732166820104982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:34.217 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6cc81b93",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:34.217 [print] Response: null 
0.004
* url apiURL 0.000
13:14:32.687 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.826
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Hellborn" 0.014
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.789
13:14:32.746 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5d84e1d8-e15a-4209-ab70-6cc1dbe88470",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 444.75,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Hellborn",
    "maternal_surname": "Castorena",
    "email": "graig19@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:34.516 response time in milliseconds: 1767
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:34",
  "timestamp": 1733512474,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5d84e1d8-e15a-4209-ab70-6cc1dbe88470",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124734706981804984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:34.519 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@495cf56b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:34.521 [print] Response: null 
0.006
* url apiURL 0.000
13:14:32.695 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.849
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.paternal_surname = "Nightshade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.822
13:14:32.734 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d473f951-5902-4d65-b0ad-ecc1193f407e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 5053.76,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Nightshade",
    "maternal_surname": "Castorena",
    "email": "thao17@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:34.549 response time in milliseconds: 1813
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:34",
  "timestamp": 1733512474,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d473f951-5902-4d65-b0ad-ecc1193f407e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124735376965304979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:34.553 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7fa49f95",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:34.554 [print] Response: null 
0.006
* url apiURL 0.000
13:14:33.192 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.735
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Darkmoor" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.712
13:14:33.225 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ed1cc755-1bfd-45ae-8689-a5867b9ffb14",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 69.89,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Darkmoor",
    "maternal_surname": "Castorena",
    "email": "adan15@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:34.934 response time in milliseconds: 1707
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:35",
  "timestamp": 1733512475,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ed1cc755-1bfd-45ae-8689-a5867b9ffb14",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124739986015404956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:34.935 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@50eac608",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:34.936 [print] Response: null 
0.001
* url apiURL 0.000
13:14:33.505 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.018
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Vex" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.999
13:14:33.527 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "155ea2b3-3d27-4b85-9046-26386503caa3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 1901.96,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Vex",
    "maternal_surname": "Castorena",
    "email": "raymundo36@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:35.523 response time in milliseconds: 1994
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:35",
  "timestamp": 1733512475,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "155ea2b3-3d27-4b85-9046-26386503caa3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124744546983004984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:35.526 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4fb28ef5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:35.527 [print] Response: null 
0.001
* url apiURL 0.000
13:14:34.222 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.162
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Maleficent" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.136
13:14:34.253 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a26d23c6-03f5-446a-809c-5f6f14f9a1b0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9239.61,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Maleficent",
    "maternal_surname": "Castorena",
    "email": "sophia35@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:36.382 response time in milliseconds: 2127
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:36",
  "timestamp": 1733512476,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a26d23c6-03f5-446a-809c-5f6f14f9a1b0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124750336824804978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:36.386 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3255803a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:36.387 [print] Response: null 
0.001
* url apiURL 0.000
13:14:34.528 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.131
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Ironshadow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.108
13:14:34.551 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1e498acb-839b-430c-bde5-df92f3456b16",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 17.14,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ironshadow",
    "maternal_surname": "Castorena",
    "email": "kent21@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:36.655 response time in milliseconds: 2102
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:36",
  "timestamp": 1733512476,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1e498acb-839b-430c-bde5-df92f3456b16",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124754716968104974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:36.660 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@561a5bd4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:36.662 [print] Response: null 
0.002
* url apiURL 0.000
13:14:34.564 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.790
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Hades" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.769
13:14:34.592 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9c295178-6a03-4536-b766-80bc433fcbcc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 399.19,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Hades",
    "maternal_surname": "Castorena",
    "email": "lance96@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:36.355 response time in milliseconds: 1762
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:36",
  "timestamp": 1733512476,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9c295178-6a03-4536-b766-80bc433fcbcc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124753766950004986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:36.358 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@63ce9d60",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:36.358 [print] Response: null 
0.003
* url apiURL 0.000
13:14:34.944 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.890
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Sinclair" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.870
13:14:34.970 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fc61d56b-1db4-4212-9a7a-21eaca1fd5a1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 83.51,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Sinclair",
    "maternal_surname": "Castorena",
    "email": "wanda94@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:36.837 response time in milliseconds: 1859
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:37",
  "timestamp": 1733512477,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fc61d56b-1db4-4212-9a7a-21eaca1fd5a1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124757666912104987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:36.840 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@419652fa",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:36.842 [print] Response: null 
0.001
* url apiURL 0.000
13:14:35.533 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.542
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Craven" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.523
13:14:35.555 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "216eaf73-1400-4ecb-abdb-ab33d27f627f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 552.35,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Craven",
    "maternal_surname": "Castorena",
    "email": "louis55@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:38.075 response time in milliseconds: 2519
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:48 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:38",
  "timestamp": 1733512478,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "216eaf73-1400-4ecb-abdb-ab33d27f627f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124764586018704956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:38.077 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5dcb4a79",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:38.078 [print] Response: null 
0.001
* url apiURL 0.000
13:14:36.363 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.961
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Ashdown" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.926
13:14:36.388 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cb5ffc17-df95-4c0b-b0bd-70f6ce577152",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 93.52,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Ashdown",
    "maternal_surname": "Castorena",
    "email": "ned3@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:38.311 response time in milliseconds: 1912
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:48 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:38",
  "timestamp": 1733512478,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cb5ffc17-df95-4c0b-b0bd-70f6ce577152",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124771966755604985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.004
13:14:38.318 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3bbd114d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.009
13:14:38.327 [print] Response: null 
0.005
* url apiURL 0.000
13:14:36.398 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.176
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.paternal_surname = "Tombstone" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.150
13:14:36.436 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bf14b52a-97e8-4c41-a920-2903e725e7d1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 16.53,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Tombstone",
    "maternal_surname": "Castorena",
    "email": "hassan83@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:38.580 response time in milliseconds: 2141
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:38",
  "timestamp": 1733512478,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bf14b52a-97e8-4c41-a920-2903e725e7d1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124772396928904960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:38.584 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6512fb94",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:38.585 [print] Response: null 
0.006
* url apiURL 0.000
13:14:36.667 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.660
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.paternal_surname = "Duskbringer" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.634
13:14:36.701 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c5d8fd9c-8cdc-4a23-a585-eaff5ed4eeac",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 570.47,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Duskbringer",
    "maternal_surname": "Castorena",
    "email": "everett100@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:38.330 response time in milliseconds: 1627
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:48 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:38",
  "timestamp": 1733512478,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c5d8fd9c-8cdc-4a23-a585-eaff5ed4eeac",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124774746064604977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.003
* print 'Request:', karate.prevRequest 0.000
13:14:38.335 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@136742bf",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:38.336 [print] Response: null 
0.028
* url apiURL 0.000
13:14:36.860 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.005
* def requestBody = read('data/evaluations.json') 0.005
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.002
* requestBody.transaction_id = uuid 0.012
2.738
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.029
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Hex" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.705
13:14:36.937 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "469504dc-3e56-4be9-938d-8ef40b42809f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 352.06,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Hex",
    "maternal_surname": "Castorena",
    "email": "angie26@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:39.630 response time in milliseconds: 2693
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:39",
  "timestamp": 1733512479,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "469504dc-3e56-4be9-938d-8ef40b42809f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124778316624504980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:39.631 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@61bb4ba5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:39.632 [print] Response: null 
0.003
* url apiURL 0.000
13:14:38.083 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.953
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.009
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Bloodsworth" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.941
13:14:38.101 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "20a52ac3-47bb-4991-9988-f4532bd90662",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 108.29,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Bloodsworth",
    "maternal_surname": "Castorena",
    "email": "jacques78@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:40.040 response time in milliseconds: 1939
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:40",
  "timestamp": 1733512480,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "20a52ac3-47bb-4991-9988-f4532bd90662",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124788726781004981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:40.041 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3d4d2a73",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:40.042 [print] Response: null 
0.011
* url apiURL 0.000
13:14:38.391 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.005
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.948
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.031
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.paternal_surname = "Viper" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.911
13:14:38.456 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bd4a49ec-f657-43e3-ad55-ff5dc692b059",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 425.72,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Viper",
    "maternal_surname": "Castorena",
    "email": "antony55@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:40.360 response time in milliseconds: 1903
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:40",
  "timestamp": 1733512480,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bd4a49ec-f657-43e3-ad55-ff5dc692b059",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124791586362504975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:40.362 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@62d162c6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:40.362 [print] Response: null 
0.009
* url apiURL 0.000
13:14:38.380 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.006
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.715
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Thorne" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.694
13:14:38.416 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "16eb67a9-ebb2-4058-b8c0-27f67ba1e711",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 70.52,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Thorne",
    "maternal_surname": "Castorena",
    "email": "ronnie26@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:40.107 response time in milliseconds: 1689
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:40",
  "timestamp": 1733512480,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "16eb67a9-ebb2-4058-b8c0-27f67ba1e711",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124791986066404977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:40.109 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7f2637c4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:40.110 [print] Response: null 
0.001
* url apiURL 0.000
13:14:38.591 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.904
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.paternal_surname = "Savage" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.886
13:14:38.614 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7ec71247-d81e-4389-b92a-ccd58306ab0c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 112.71,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Savage",
    "maternal_surname": "Castorena",
    "email": "milan63@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:40.496 response time in milliseconds: 1881
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:51 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:40",
  "timestamp": 1733512480,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7ec71247-d81e-4389-b92a-ccd58306ab0c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124793706066704977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:40.498 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@76e16511",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:40.499 [print] Response: null 
0.001
* url apiURL 0.000
13:14:39.635 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.044
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Nocturne" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.027
13:14:39.654 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5942525b-00bc-4fa8-918e-0be24964c42f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 380.37,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Nocturne",
    "email": "thi59@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:41.679 response time in milliseconds: 2024
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:41",
  "timestamp": 1733512481,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5942525b-00bc-4fa8-918e-0be24964c42f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124804226973404974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:41.681 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5773a49d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:41.682 [print] Response: null 
0.002
* url apiURL 0.000
13:14:40.044 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.215
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Crowley" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.190
13:14:40.066 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f1a1743d-fa84-4163-87a9-44b2eab5407b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 864.99,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Crowley",
    "email": "jermaine12@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:42.252 response time in milliseconds: 2184
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:42",
  "timestamp": 1733512482,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f1a1743d-fa84-4163-87a9-44b2eab5407b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124807746415204970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.003
13:14:42.260 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@40c9ef9a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:14:42.263 [print] Response: null 
0.005
* url apiURL 0.000
13:14:40.116 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.770
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Blackfang" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.747
13:14:40.145 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "57534dbf-a9d2-4372-8f67-cecca40e5148",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 688.86,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Blackfang",
    "email": "rolf11@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:41.888 response time in milliseconds: 1742
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:42",
  "timestamp": 1733512482,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "57534dbf-a9d2-4372-8f67-cecca40e5148",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124809336364804975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:14:41.894 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@13476aa8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:41.895 [print] Response: null 
0.004
* url apiURL 0.000
13:14:40.366 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.287
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.023
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Slade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.259
13:14:40.401 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c510a5cf-849f-45fd-b0a3-69750b11422e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 93.79,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Slade",
    "email": "pierre90@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:42.658 response time in milliseconds: 2256
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:42",
  "timestamp": 1733512482,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c510a5cf-849f-45fd-b0a3-69750b11422e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124810966955904986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:42.660 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@bafcb10",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:42.660 [print] Response: null 
0.003
* url apiURL 0.000
13:14:40.511 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.194
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Malstorm" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.177
13:14:40.535 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "09de8f0e-1b74-4de1-9f3e-363f3498d3c5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 569.03,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Malstorm",
    "email": "mattie70@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:42.710 response time in milliseconds: 2173
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:43",
  "timestamp": 1733512483,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "09de8f0e-1b74-4de1-9f3e-363f3498d3c5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124812916024704956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:42.711 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2f16c80e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:42.711 [print] Response: null 
0.003
* url apiURL 0.000
13:14:41.693 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.833
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Hellfire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.816
13:14:41.716 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0bdc98f3-a096-4e0a-8e09-452875ba7d6a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 154.79,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Hellfire",
    "email": "claude38@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:43.530 response time in milliseconds: 1811
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:54 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:43",
  "timestamp": 1733512483,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0bdc98f3-a096-4e0a-8e09-452875ba7d6a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124825166934904960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:43.533 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@42e109b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:43.534 [print] Response: null 
0.001
* url apiURL 0.000
13:14:41.901 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.497
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Dread" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.478
13:14:41.921 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f9cbb5fd-b660-4e67-824d-7a80716e3f0f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3556.99,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Dread",
    "email": "elaine2@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:44.396 response time in milliseconds: 2473
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:54 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:44",
  "timestamp": 1733512484,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f9cbb5fd-b660-4e67-824d-7a80716e3f0f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124826156762304985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:44.399 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4ec12910",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:44.401 [print] Response: null 
0.005
* url apiURL 0.000
13:14:42.279 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.951
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Ashenvale" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.930
13:14:42.316 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f3b9531d-81c4-4e8b-a0ee-58b6e79d4ab9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 26.31,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ashenvale",
    "email": "shanda74@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:44.240 response time in milliseconds: 1923
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:54 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:44",
  "timestamp": 1733512484,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f3b9531d-81c4-4e8b-a0ee-58b6e79d4ab9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124830896117704953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:44.241 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3ac56b63",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:44.241 [print] Response: null 
0.004
* url apiURL 0.000
13:14:42.671 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.960
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Darkwhisper" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.940
13:14:42.698 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8807de97-5717-423a-84b3-b0e0acb5a9c1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 48.86,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Darkwhisper",
    "email": "cedrick12@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:44.635 response time in milliseconds: 1935
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:44",
  "timestamp": 1733512484,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8807de97-5717-423a-84b3-b0e0acb5a9c1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124834966976204979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:44.638 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5cdbc042",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:44.639 [print] Response: null 
0.005
* url apiURL 0.000
13:14:42.719 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.258
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Darkbane" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.215
13:14:42.757 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c49236c7-2a1c-425e-bba1-93e7c71603c9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 20.36,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Darkbane",
    "email": "maddie49@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:44.965 response time in milliseconds: 2201
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:45",
  "timestamp": 1733512485,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c49236c7-2a1c-425e-bba1-93e7c71603c9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124836566994004984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:44.969 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@42e77c3c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.017
13:14:44.987 [print] Response: null 
0.004
* url apiURL 0.000
13:14:43.538 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.929
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Noire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.903
13:14:43.570 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bda4f8ad-deeb-4a3f-8702-288a7d4a7135",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 854.93,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Noire",
    "email": "wilmer18@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:45.470 response time in milliseconds: 1899
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:45",
  "timestamp": 1733512485,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bda4f8ad-deeb-4a3f-8702-288a7d4a7135",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124843706835504978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:45.472 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7527ee1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:45.473 [print] Response: null 
0.002
* url apiURL 0.000
13:14:44.245 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.939
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Reaver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.925
13:14:44.264 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "70c448c3-fc17-4942-8a67-509d2a9313b5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 443.2,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Reaver",
    "email": "cameron62@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:46.187 response time in milliseconds: 1921
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:46",
  "timestamp": 1733512486,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "70c448c3-fc17-4942-8a67-509d2a9313b5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124852576924304987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:46.188 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5636e6d4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:46.189 [print] Response: null 
0.002
* url apiURL 0.000
13:14:44.408 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.782
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Draven" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.760
13:14:44.428 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b65e63e4-232b-4005-8805-a504c9857360",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 37.52,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Draven",
    "email": "larraine25@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:46.187 response time in milliseconds: 1757
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:46",
  "timestamp": 1733512486,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b65e63e4-232b-4005-8805-a504c9857360",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124851406350104988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:46.189 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@b8c4741",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.005
13:14:46.195 [print] Response: null 
0.001
* url apiURL 0.000
13:14:44.647 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.903
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Graver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.881
13:14:44.667 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cf699830-93c1-497b-85e0-017aa2c7b1cf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3419.78,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Graver",
    "email": "edris68@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:46.547 response time in milliseconds: 1878
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:46",
  "timestamp": 1733512486,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cf699830-93c1-497b-85e0-017aa2c7b1cf",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124854966978604979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:46.552 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@8ce52aa",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:14:46.554 [print] Response: null 
0.002
* url apiURL 0.000
13:14:45.018 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.298
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.042
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Acheron" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.250
13:14:45.074 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a20f19a7-6384-45a1-82b0-f108de27657b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 15.36,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Acheron",
    "email": "chante55@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:47.319 response time in milliseconds: 2244
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:47",
  "timestamp": 1733512487,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a20f19a7-6384-45a1-82b0-f108de27657b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124858686675804983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:47.321 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@769dfafe",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:47.322 [print] Response: null 
0.003
* url apiURL 0.000
13:14:45.485 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.825
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.maternal_surname = "Grimm" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.797
13:14:45.520 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a8fc123e-e10c-43b7-b63e-2e8137f237eb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9387.69,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Grimm",
    "email": "rocco85@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:47.314 response time in milliseconds: 1792
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:47",
  "timestamp": 1733512487,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a8fc123e-e10c-43b7-b63e-2e8137f237eb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124863616421404970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:47.316 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@12850c62",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:47.317 [print] Response: null 
0.006
* url apiURL 0.000
13:14:46.196 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.047
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Grimwald" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.024
13:14:46.231 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1a841e53-68b9-4b7b-a352-3d60e5d2ffff",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 39.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Grimwald",
    "email": "adrienne93@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:48.251 response time in milliseconds: 2016
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:48",
  "timestamp": 1733512488,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1a841e53-68b9-4b7b-a352-3d60e5d2ffff",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124869346030304956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:48.253 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7efbcd7",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:48.253 [print] Response: null 
0.005
* url apiURL 0.000
13:14:46.208 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.916
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Crimson" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.900
13:14:46.232 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "47f4f282-a70a-4cf6-b6e5-71c4443749cc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 1124.07,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Crimson",
    "email": "alita90@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:48.130 response time in milliseconds: 1898
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:48",
  "timestamp": 1733512488,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "47f4f282-a70a-4cf6-b6e5-71c4443749cc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "12"
  },
  "decision_manager": {
    "id": "7335124870236836604982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:48.131 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2064d484",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:48.131 [print] Response: null 
0.004
* url apiURL 0.000
13:14:46.564 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.282
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Blackthorn" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.261
13:14:46.593 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fbe796fb-37d5-47b6-8013-28e32b31ed39",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 82.44,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Blackthorn",
    "email": "elmo43@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:48.850 response time in milliseconds: 2255
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:49",
  "timestamp": 1733512489,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fbe796fb-37d5-47b6-8013-28e32b31ed39",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124873626766604985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:48.852 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@25927bce",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:48.853 [print] Response: null 
0.001
* url apiURL 0.000
13:14:47.319 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.864
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Grimmore" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.848
13:14:47.339 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "81612a08-70e7-4c5c-a572-cb72d1b16bbd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 848.06,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Grimmore",
    "email": "dexter12@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:49.185 response time in milliseconds: 1844
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:49",
  "timestamp": 1733512489,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "81612a08-70e7-4c5c-a572-cb72d1b16bbd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124881616276604976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:49.186 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@69db8a8a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:49.186 [print] Response: null 
0.004
* url apiURL 0.000
13:14:47.332 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.846
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Blake" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.829
13:14:47.358 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f72fd363-1d1d-4390-8d1e-0f3dbb41461e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 106.93,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Blake",
    "email": "fernando8@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:49.184 response time in milliseconds: 1825
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:39:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:49",
  "timestamp": 1733512489,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f72fd363-1d1d-4390-8d1e-0f3dbb41461e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124881366964304986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:49.185 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@12bc170d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:49.185 [print] Response: null 
0.000
* url apiURL 0.000
13:14:48.134 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.946
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.008
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Crow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.931
13:14:48.149 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "201e5bd6-0805-41d8-9ac8-d93360e67722",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 354.37,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Crow",
    "email": "isabell11@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:50.077 response time in milliseconds: 1926
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:50",
  "timestamp": 1733512490,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "201e5bd6-0805-41d8-9ac8-d93360e67722",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335124889236001504984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:50.080 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@13d8909c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:50.082 [print] Response: null 
0.002
* url apiURL 0.000
13:14:48.257 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.637
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Moriarty" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.620
13:14:48.277 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "15707ba9-d7bf-4c87-828d-c4438431722d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 29.2,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Moriarty",
    "email": "rodger15@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:50.896 response time in milliseconds: 2618
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:51",
  "timestamp": 1733512491,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "15707ba9-d7bf-4c87-828d-c4438431722d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124891726983704974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:50.898 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1a53b4f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:50.898 [print] Response: null 
0.004
* url apiURL 0.000
13:14:48.861 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.326
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Gravesend" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.296
13:14:48.892 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8cd84bc4-8b65-491f-bd7e-3f9a03f70268",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 58.11,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Gravesend",
    "email": "tyesha9@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:51.185 response time in milliseconds: 2286
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:51",
  "timestamp": 1733512491,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8cd84bc4-8b65-491f-bd7e-3f9a03f70268",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124895786768704985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:51.190 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2068dbbd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:14:51.193 [print] Response: null 
0.026
* url apiURL 0.000
13:14:49.199 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.001
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.021
2.289
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.052
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Gorefiend" 0.001
Given path '/engine/evaluations' 0.001
And request peticion 0.000
When method POST 2.228
13:14:49.297 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4caca29b-0fa7-45f0-9985-256e4e1e8414",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 44.95,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Gorefiend",
    "email": "valentine41@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:51.519 response time in milliseconds: 2215
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:51",
  "timestamp": 1733512491,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4caca29b-0fa7-45f0-9985-256e4e1e8414",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "9"
  },
  "decision_manager": {
    "id": "7335124901096793704981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:51.524 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6005b30",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:51.525 [print] Response: null 
0.003
* url apiURL 0.000
13:14:49.212 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.885
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.029
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.031
* set peticion.client.maternal_surname = "Bloodmoon" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.819
13:14:49.292 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "003607d6-b726-4146-a6a4-23c97915382b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 74.17,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Bloodmoon",
    "email": "fransisca0@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:51.102 response time in milliseconds: 1808
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:51",
  "timestamp": 1733512491,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "003607d6-b726-4146-a6a4-23c97915382b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124899926793604981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:51.105 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@d3ee7d6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:51.105 [print] Response: null 
0.003
* url apiURL 0.000
13:14:50.088 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.037
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Thornheart" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.021
13:14:50.108 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "89a898e2-2aa8-4edd-9d5b-408aa0a52863",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 693.58,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Thornheart",
    "email": "melani79@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:52.127 response time in milliseconds: 2017
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:52",
  "timestamp": 1733512492,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "89a898e2-2aa8-4edd-9d5b-408aa0a52863",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124908956081604977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:52.130 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@47f4ea62",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:52.130 [print] Response: null 
0.003
* url apiURL 0.000
13:14:50.903 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.744
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Eldergloom" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.732
13:14:50.922 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c186f155-9e96-43bc-8c85-f34f41b55990",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 21.01,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Eldergloom",
    "email": "kerrie50@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:53.652 response time in milliseconds: 2728
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:04 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:53",
  "timestamp": 1733512493,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c186f155-9e96-43bc-8c85-f34f41b55990",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335124919906683004983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:53.653 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7ef2bea9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:53.653 [print] Response: null 
0.003
* url apiURL 0.000
13:14:51.118 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.029
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Raventhorn" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.010
13:14:51.143 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "66dc11a9-0845-47e1-b514-1f7f5ac1ea94",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 758.06,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Raventhorn",
    "email": "ed57@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:53.150 response time in milliseconds: 2005
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:53",
  "timestamp": 1733512493,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "66dc11a9-0845-47e1-b514-1f7f5ac1ea94",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124919456986204974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:53.153 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@23da7a46",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:53.154 [print] Response: null 
0.008
* url apiURL 0.000
13:14:51.207 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.001
1.934
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Redthorne" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.909
13:14:51.243 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8990ffff-a275-465d-acbf-c4ca6268f779",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 738.28,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Redthorne",
    "email": "kai98@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:53.150 response time in milliseconds: 1905
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:53",
  "timestamp": 1733512493,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8990ffff-a275-465d-acbf-c4ca6268f779",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124920446771504985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:53.153 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7a7c28e2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:53.154 [print] Response: null 
0.006
* url apiURL 0.000
13:14:51.535 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.911
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Shadeweaver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.891
13:14:51.569 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a07f18e0-f14a-4161-9134-5194b16d5e6d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 697.22,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Shadeweaver",
    "email": "essie78@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:53.455 response time in milliseconds: 1885
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:53",
  "timestamp": 1733512493,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a07f18e0-f14a-4161-9134-5194b16d5e6d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124923676379404975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:53.456 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@510fb6d2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:53.456 [print] Response: null 
0.001
* url apiURL 0.000
13:14:52.134 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.043
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Vossler" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.024
13:14:52.153 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5b65d392-214d-4a87-9086-f752f10a30e0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 160.62,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Vossler",
    "email": "daphne96@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:54.174 response time in milliseconds: 2019
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:04 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:54",
  "timestamp": 1733512494,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5b65d392-214d-4a87-9086-f752f10a30e0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124930566684404983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:54.177 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5b02232",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:54.179 [print] Response: null 
0.001
* url apiURL 0.000
13:14:53.158 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.875
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Sable" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.847
13:14:53.180 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9e55866f-ba26-4933-aad9-21cd32129d99",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 831.38,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Sable",
    "email": "charles50@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:55.023 response time in milliseconds: 1840
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:55",
  "timestamp": 1733512495,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9e55866f-ba26-4933-aad9-21cd32129d99",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124939506429504970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.004
13:14:55.031 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@b088775",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.004
13:14:55.036 [print] Response: null 
0.001
* url apiURL 0.000
13:14:53.158 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.739
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Hallow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.715
13:14:53.180 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0bdd631b-bd3a-4272-a939-23180aaaace6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 16.89,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Hallow",
    "email": "brice79@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:54.892 response time in milliseconds: 1710
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:55",
  "timestamp": 1733512495,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0bdd631b-bd3a-4272-a939-23180aaaace6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124939736971404986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:14:54.898 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5a96ca0d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:54.900 [print] Response: null 
0.003
* url apiURL 0.000
13:14:53.462 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.990
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Deathwhisper" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.969
13:14:53.485 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a2a3f685-6144-411a-baee-956f1dfea664",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6762.91,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Deathwhisper",
    "email": "shakita87@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:55.451 response time in milliseconds: 1964
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:06 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:55",
  "timestamp": 1733512495,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a2a3f685-6144-411a-baee-956f1dfea664",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124943616039204956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:14:55.456 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5248af74",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:55.458 [print] Response: null 
0.004
* url apiURL 0.000
13:14:53.660 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.692
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Shade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.672
13:14:53.686 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5caefa79-1dab-49b7-9cfc-5a3f6c8774d8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 4606.45,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Shade",
    "email": "roman95@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:55.356 response time in milliseconds: 1668
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:55",
  "timestamp": 1733512495,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5caefa79-1dab-49b7-9cfc-5a3f6c8774d8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124943986847304978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:14:55.359 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3feb6a63",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:55.359 [print] Response: null 
0.004
* url apiURL 0.000
13:14:54.187 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.033
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.036
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.maternal_surname = "Steelclaw" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.987
13:14:54.238 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aeb475ef-964b-4d90-b6af-97bb033786b1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 14.97,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Steelclaw",
    "email": "crystal43@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:56.221 response time in milliseconds: 1982
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:06 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:56",
  "timestamp": 1733512496,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "aeb475ef-964b-4d90-b6af-97bb033786b1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124950286972704986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:14:56.225 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1f338052",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:56.226 [print] Response: null 
0.006
* url apiURL 0.000
13:14:54.910 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.019
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Blackwood" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.998
13:14:54.944 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f177ee5f-2c53-4164-8394-9dcdac8af929",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 805.83,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Blackwood",
    "email": "chan41@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:56.937 response time in milliseconds: 1993
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:57",
  "timestamp": 1733512497,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f177ee5f-2c53-4164-8394-9dcdac8af929",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124957296131604953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:56.940 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@418429c5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:56.940 [print] Response: null 
0.003
* url apiURL 0.000
13:14:55.051 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.979
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Bloodhart" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.956
13:14:55.080 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0c119147-d10d-4074-9482-15d0e100fa56",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6034.49,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Bloodhart",
    "email": "hildegard62@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:57.033 response time in milliseconds: 1952
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:57",
  "timestamp": 1733512497,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0c119147-d10d-4074-9482-15d0e100fa56",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335124958366991404974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:57.035 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4154814c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:57.036 [print] Response: null 
0.004
* url apiURL 0.000
13:14:55.364 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.937
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Skullworth" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.920
13:14:55.390 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5ff23709-9087-4cf9-9638-c344695010db",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3624.68,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Skullworth",
    "email": "tish92@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:57.307 response time in milliseconds: 1916
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:57",
  "timestamp": 1733512497,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5ff23709-9087-4cf9-9638-c344695010db",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124963176384704975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:57.308 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2f9980d6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:57.308 [print] Response: null 
0.003
* url apiURL 0.000
13:14:55.463 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.749
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Shadowmend" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.734
13:14:55.484 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "93ecdeec-24b5-4d87-b999-07de07450bed",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 391.07,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Shadowmend",
    "email": "roy87@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:57.215 response time in milliseconds: 1729
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:57",
  "timestamp": 1733512497,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "93ecdeec-24b5-4d87-b999-07de07450bed",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124962996041704956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:57.216 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2f836e65",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:57.217 [print] Response: null 
0.003
* url apiURL 0.000
13:14:56.231 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.857
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Mordred" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.840
13:14:56.253 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "71c49160-951f-430d-8ad8-281c1deca996",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 25.51,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Mordred",
    "email": "donnell45@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:58.092 response time in milliseconds: 1838
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:08 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:58",
  "timestamp": 1733512498,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "71c49160-951f-430d-8ad8-281c1deca996",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124970366852304989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:58.093 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@b1cf101",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:58.094 [print] Response: null 
0.001
* url apiURL 0.000
13:14:56.946 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.001
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Macabre" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.980
13:14:56.966 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "758c593f-c983-4a5c-92ff-02c491d462fe",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 45.59,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Macabre",
    "email": "darin25@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:58.944 response time in milliseconds: 1975
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:59",
  "timestamp": 1733512499,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "758c593f-c983-4a5c-92ff-02c491d462fe",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124978206940204987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:14:58.949 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@32e31d42",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:14:58.951 [print] Response: null 
0.003
* url apiURL 0.000
13:14:57.042 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.837
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Blackfyre" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.822
13:14:57.065 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "75faf547-b04a-4ef8-bae0-98553e9f93f8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6445.49,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Blackfyre",
    "email": "gwendolyn73@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:58.883 response time in milliseconds: 1817
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:59",
  "timestamp": 1733512499,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "75faf547-b04a-4ef8-bae0-98553e9f93f8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124978246853204989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:14:58.885 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2915800a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:58.886 [print] Response: null 
0.003
* url apiURL 0.000
13:14:57.221 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.828
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Blut" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.807
13:14:57.242 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5485bd6f-e607-426f-8e04-fa74a0466afb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 780.02,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Blut",
    "email": "erick84@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:59.047 response time in milliseconds: 1803
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:59",
  "timestamp": 1733512499,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5485bd6f-e607-426f-8e04-fa74a0466afb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124980486993604974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:14:59.052 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@424a041a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:14:59.055 [print] Response: null 
0.004
* url apiURL 0.000
13:14:57.315 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.691
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Ravenwood" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.670
13:14:57.343 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d3d2613a-4ab2-4ce4-a1db-4e6866e69b03",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 193.97,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ravenwood",
    "email": "harlan10@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:14:59.011 response time in milliseconds: 1668
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:14:59",
  "timestamp": 1733512499,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d3d2613a-4ab2-4ce4-a1db-4e6866e69b03",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124981296954204960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:14:59.013 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@8153b2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:14:59.013 [print] Response: null 
0.001
* url apiURL 0.000
13:14:58.096 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.225
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Steelbane" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.205
13:14:58.113 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6a4071c9-426e-4998-b925-c37c7dad0fad",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 862.12,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Steelbane",
    "email": "gregorio98@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:00.317 response time in milliseconds: 2203
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:00",
  "timestamp": 1733512500,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6a4071c9-426e-4998-b925-c37c7dad0fad",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124989026044404956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:15:00.321 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@722419ee",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:15:00.324 [print] Response: null 
0.003
* url apiURL 0.000
13:14:58.892 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.346
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Bloodworth" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.320
13:14:58.921 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4ef3ccd0-eb08-470b-86fe-9d059f736662",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 532.83,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Bloodworth",
    "email": "leonardo37@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:01.240 response time in milliseconds: 2316
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:01",
  "timestamp": 1733512501,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4ef3ccd0-eb08-470b-86fe-9d059f736662",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124996946854004978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:01.242 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@d18f1ff",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:15:01.245 [print] Response: null 
0.006
* url apiURL 0.000
13:14:58.957 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.969
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Hellwalker" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.950
13:14:58.987 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "56a63c09-15c7-4fb3-aacc-33ba332ce9c5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 67.7,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Hellwalker",
    "email": "margit100@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:00.934 response time in milliseconds: 1945
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:01",
  "timestamp": 1733512501,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "56a63c09-15c7-4fb3-aacc-33ba332ce9c5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124997976942804987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:00.936 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@12b793b6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:00.936 [print] Response: null 
0.001
* url apiURL 0.000
13:14:59.018 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.986
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Sanguine" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.965
13:14:59.046 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e719dca7-a1ea-4e63-a764-6ab026c05d64",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 876.7,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Sanguine",
    "email": "travis95@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:01.006 response time in milliseconds: 1958
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:01",
  "timestamp": 1733512501,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e719dca7-a1ea-4e63-a764-6ab026c05d64",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335124998766996204974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:01.007 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2703bb40",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:01.007 [print] Response: null 
0.001
* url apiURL 0.000
13:14:59.059 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.873
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.007
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Savage" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.863
13:14:59.072 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6edc06b8-30ce-42b2-bde2-e61aacbc273b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 405.56,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Savage",
    "email": "wilmer93@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:00.934 response time in milliseconds: 1860
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:01",
  "timestamp": 1733512501,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6edc06b8-30ce-42b2-bde2-e61aacbc273b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335124998456045504956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:00.936 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@384118b1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:00.936 [print] Response: null 
0.003
* url apiURL 0.000
13:15:00.330 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.928
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Bloodstone" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.914
13:15:00.349 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "766fe038-ed9e-4b7b-ae38-bd7f1f8bdef0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 252.6,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Bloodstone",
    "email": "carry78@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:02.261 response time in milliseconds: 1912
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:02",
  "timestamp": 1733512502,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "766fe038-ed9e-4b7b-ae38-bd7f1f8bdef0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125011096369704988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:02.263 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5f1906c9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:02.264 [print] Response: null 
0.001
* url apiURL 0.000
13:15:00.941 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.800
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Bonebreaker" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.780
13:15:00.963 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "213aba96-bfc2-48b6-98d1-9da5e8e01a80",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 59.24,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Bonebreaker",
    "email": "wes15@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:02.741 response time in milliseconds: 1776
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:03",
  "timestamp": 1733512503,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "213aba96-bfc2-48b6-98d1-9da5e8e01a80",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125016536997404979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:02.743 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1b1620b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:02.743 [print] Response: null 
0.001
* url apiURL 0.000
13:15:00.941 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.808
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Tenebris" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.789
13:15:00.963 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "da0357f5-19a0-4f54-9e16-10fac3a252f7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 339.08,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Tenebris",
    "email": "sueann76@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:02.750 response time in milliseconds: 1786
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:03",
  "timestamp": 1733512503,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "da0357f5-19a0-4f54-9e16-10fac3a252f7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125017266958904960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:02.751 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1cdcde16",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:02.751 [print] Response: null 
0.001
* url apiURL 0.000
13:15:01.010 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.836
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Voss" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.816
13:15:01.032 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "610d8310-f3ec-4196-add7-381bac11bcdd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 510.44,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Voss",
    "email": "johnnie4@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:02.845 response time in milliseconds: 1812
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:03",
  "timestamp": 1733512503,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "610d8310-f3ec-4196-add7-381bac11bcdd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125019206883904990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:02.847 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5a6d595e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:15:02.849 [print] Response: null 
0.005
* url apiURL 0.000
13:15:01.255 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.984
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Fang" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.962
13:15:01.282 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9ee0c6ca-1187-49d8-ae7b-7dd1090ab8e2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 313.62,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Fang",
    "email": "waldo87@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:03.241 response time in milliseconds: 1956
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:03",
  "timestamp": 1733512503,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9ee0c6ca-1187-49d8-ae7b-7dd1090ab8e2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125021346945604987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:15:03.246 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2397000d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:03.248 [print] Response: null 
0.003
* url apiURL 0.000
13:15:02.271 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.036
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Riven" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.018
13:15:02.293 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "20410839-8ecc-4368-a826-6e6454dadd4a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 34.77,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Riven",
    "email": "alfredia82@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:04.310 response time in milliseconds: 2015
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:14 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:04",
  "timestamp": 1733512504,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "20410839-8ecc-4368-a826-6e6454dadd4a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125032346885204990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:04.311 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@32cfe2a4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:04.312 [print] Response: null 
0.001
* url apiURL 0.000
13:15:02.747 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.856
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Duskmire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.827
13:15:02.778 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a13d9630-06de-4a45-847a-de1217804ac0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 424.56,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Duskmire",
    "email": "jim67@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:04.601 response time in milliseconds: 1821
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:04",
  "timestamp": 1733512504,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a13d9630-06de-4a45-847a-de1217804ac0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125035496784604985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:15:04.606 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1b539b91",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:04.607 [print] Response: null 
0.004
* url apiURL 0.000
13:15:02.762 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.265
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Vein" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.242
13:15:02.790 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6fae2fce-b2cf-4041-ae4a-0069481a94d4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 969.59,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Vein",
    "email": "cyrus35@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:05.029 response time in milliseconds: 2237
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:04",
  "timestamp": 1733512504,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6fae2fce-b2cf-4041-ae4a-0069481a94d4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125035016696304983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.001
13:15:05.033 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7c3f912b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:05.035 [print] Response: null 
0.003
* url apiURL 0.000
13:15:02.861 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.167
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.011
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Mordain" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.152
13:15:02.882 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1e684b6c-d597-43b0-81b8-7af0ca3d2a7a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 92.02,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Mordain",
    "email": "hellen27@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:05.031 response time in milliseconds: 2145
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:05",
  "timestamp": 1733512505,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1e684b6c-d597-43b0-81b8-7af0ca3d2a7a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125037606859304978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:05.033 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@11990462",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:05.034 [print] Response: null 
0.005
* url apiURL 0.000
13:15:03.253 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.016
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Crowforge" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.995
13:15:03.283 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fb55e340-ea91-46fa-bc90-bcd99728a9ed",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 889.14,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Crowforge",
    "email": "cyrus78@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:05.276 response time in milliseconds: 1992
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:05",
  "timestamp": 1733512505,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fb55e340-ea91-46fa-bc90-bcd99728a9ed",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125042886142104953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:05.277 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@521e77d3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:05.277 [print] Response: null 
0.003
* url apiURL 0.000
13:15:04.325 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.826
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Cruor" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.811
13:15:04.346 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4d0f2241-0084-452f-8411-7c2b9ee9f678",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 767.14,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Cruor",
    "email": "carmina34@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:06.155 response time in milliseconds: 1808
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:16 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:06",
  "timestamp": 1733512506,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4d0f2241-0084-452f-8411-7c2b9ee9f678",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125051576112104973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:06.157 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7a94bbde",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:06.157 [print] Response: null 
0.003
* url apiURL 0.000
13:15:04.610 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.523
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Sinhar" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.508
13:15:04.630 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7709964f-7ce6-4850-abd8-756163683c33",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 976.39,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Sinhar",
    "email": "lorna66@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:07.136 response time in milliseconds: 2505
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:07",
  "timestamp": 1733512507,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7709964f-7ce6-4850-abd8-756163683c33",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125054086811804981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:07.137 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1d77c891",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:07.138 [print] Response: null 
0.001
* url apiURL 0.000
13:15:05.039 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.830
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Scourge" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.810
13:15:05.064 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "04292c14-8ee1-45a0-aaab-316415105025",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 499.01,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Scourge",
    "email": "joella75@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:06.871 response time in milliseconds: 1806
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:07",
  "timestamp": 1733512507,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "04292c14-8ee1-45a0-aaab-316415105025",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125058366963904960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:06.872 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1c3fd363",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:06.872 [print] Response: null 
0.006
* url apiURL 0.003
13:15:05.039 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.855
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Oblivion" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.810
13:15:05.075 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "29723d9a-d439-4c41-aed7-1cdb07de4384",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9672.58,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Oblivion",
    "email": "jody6@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:06.882 response time in milliseconds: 1804
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:07",
  "timestamp": 1733512507,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "29723d9a-d439-4c41-aed7-1cdb07de4384",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125058496002804979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.014
13:15:06.899 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@61a05bc5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:15:06.903 [print] Response: null 
0.003
* url apiURL 0.000
13:15:05.284 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.762
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Sinclaire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.743
13:15:05.310 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "baba5451-4e81-467a-a328-b2b71192c21b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 883.61,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Sinclaire",
    "email": "joslyn71@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:07.050 response time in milliseconds: 1739
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:07",
  "timestamp": 1733512507,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "baba5451-4e81-467a-a328-b2b71192c21b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125060106964204960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:07.051 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6db666c7",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:07.053 [print] Response: null 
0.001
* url apiURL 0.000
13:15:06.159 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.840
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Gallows" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.823
13:15:06.179 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "47695376-d5b9-48c6-a1a4-0ef9e1744847",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 24.93,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Gallows",
    "email": "tien68@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:07.999 response time in milliseconds: 1818
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:08",
  "timestamp": 1733512508,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "47695376-d5b9-48c6-a1a4-0ef9e1744847",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125068736863104989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:08.001 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@27f5b725",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:08.002 [print] Response: null 
0.001
* url apiURL 0.000
13:15:06.874 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.256
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.032
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Crimsonmoon" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.216
13:15:06.915 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dd2c2993-704a-43f0-a24f-b5fa78802eca",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 570.1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Crimsonmoon",
    "email": "robena31@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:09.129 response time in milliseconds: 2211
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:09",
  "timestamp": 1733512509,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "dd2c2993-704a-43f0-a24f-b5fa78802eca",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125076296115104973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:15:09.131 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2a083083",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:15:09.133 [print] Response: null 
0.006
* url apiURL 0.000
13:15:06.913 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.792
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.018
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Ravencroft" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.768
13:15:06.946 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a8d3da53-6c49-40d9-84ff-e1d8fed407cc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 868.03,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ravencroft",
    "email": "amalia73@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:08.713 response time in milliseconds: 1766
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:08",
  "timestamp": 1733512508,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a8d3da53-6c49-40d9-84ff-e1d8fed407cc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125077126022904984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:08.714 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@50ebccc3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:08.715 [print] Response: null 
0.004
* url apiURL 0.000
13:15:07.060 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.047
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Vandran" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.031
13:15:07.085 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "70f108c7-54d4-4757-a428-3b0ff9871337",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 164.17,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Vandran",
    "email": "jesica7@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:09.113 response time in milliseconds: 2026
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:09",
  "timestamp": 1733512509,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "70f108c7-54d4-4757-a428-3b0ff9871337",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125079806790404985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:09.115 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@565321bd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:09.115 [print] Response: null 
0.004
* url apiURL 0.000
13:15:07.151 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.507
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Graves" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.485
13:15:07.184 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "21293605-0fc5-454f-ba94-9f2799e1375b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 588.06,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Graves",
    "email": "phebe39@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:09.664 response time in milliseconds: 2479
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:09",
  "timestamp": 1733512509,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "21293605-0fc5-454f-ba94-9f2799e1375b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125079016005704979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:09.665 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7844be5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:09.665 [print] Response: null 
0.002
* url apiURL 0.000
13:15:08.005 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.795
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Ebonheart" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.780
13:15:08.026 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "942b5c85-e1b9-48e5-b029-dfefb48d50c4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 786.34,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ebonheart",
    "email": "sondra26@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:09.804 response time in milliseconds: 1777
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:10",
  "timestamp": 1733512510,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "942b5c85-e1b9-48e5-b029-dfefb48d50c4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125087886967804960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:09.805 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7fbc5e7e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:09.805 [print] Response: null 
0.002
* url apiURL 0.000
13:15:08.724 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.934
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.013
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Ravenshadow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.916
13:15:08.746 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1c2f80fd-6ebe-47e8-ae58-108dbdb6e778",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 362.46,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ravenshadow",
    "email": "daryl90@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:10.660 response time in milliseconds: 1913
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:10",
  "timestamp": 1733512510,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1c2f80fd-6ebe-47e8-ae58-108dbdb6e778",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125095706955004987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:10.663 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5f5f963a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:10.663 [print] Response: null 
0.004
* url apiURL 0.000
13:15:09.119 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.454
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Skullcrusher" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.425
13:15:09.157 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "836d3a90-8954-45f5-bed1-372b2dec0da1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 79.74,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Skullcrusher",
    "email": "kami28@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:11.577 response time in milliseconds: 2418
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:11",
  "timestamp": 1733512511,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "836d3a90-8954-45f5-bed1-372b2dec0da1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125098906008004979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:11.580 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@47f49806",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:11.581 [print] Response: null 
0.007
* url apiURL 0.000
13:15:09.157 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.042
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Shroud" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.014
13:15:09.196 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "634b7c0f-23d4-4b09-82b0-e0907d99edf9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3521.96,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Shroud",
    "email": "louie86@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:11.206 response time in milliseconds: 2008
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:11",
  "timestamp": 1733512511,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "634b7c0f-23d4-4b09-82b0-e0907d99edf9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125101176026304984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:15:11.209 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@635b44a2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:11.211 [print] Response: null 
0.001
* url apiURL 0.000
13:15:09.668 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.911
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Evershadow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.891
13:15:09.687 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0d4ce38a-8b6e-47d4-a8a1-5af9f56a3c08",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 265.48,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Evershadow",
    "email": "joslyn11@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:11.577 response time in milliseconds: 1888
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:11",
  "timestamp": 1733512511,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0d4ce38a-8b6e-47d4-a8a1-5af9f56a3c08",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125104706865104982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:11.580 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@182fd384",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:11.581 [print] Response: null 
0.004
* url apiURL 0.000
13:15:09.810 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.901
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Ravencrest" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.882
13:15:09.838 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3399d750-17ed-49f4-a5c7-4b29c4cee969",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 297.8,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ravencrest",
    "email": "geneva13@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:11.713 response time in milliseconds: 1873
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:12",
  "timestamp": 1733512512,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3399d750-17ed-49f4-a5c7-4b29c4cee969",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125106156027004984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:11.718 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6045e113",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:11.719 [print] Response: null 
0.001
* url apiURL 0.000
13:15:10.669 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.041
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.021
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Bane" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.015
13:15:10.699 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4a380555-1e6c-4f48-acfb-496bfad49ec0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 846.57,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Bane",
    "email": "dalton14@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:12.709 response time in milliseconds: 2008
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:12",
  "timestamp": 1733512512,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4a380555-1e6c-4f48-acfb-496bfad49ec0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125114506866004982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:12.713 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1b454ad7",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:12.713 [print] Response: null 
0.002
* url apiURL 0.000
13:15:11.219 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.794
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Blight" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.778
13:15:11.237 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c25286e7-63eb-46e1-9e79-90147b828f43",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 927.84,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Blight",
    "email": "henry72@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:13.015 response time in milliseconds: 1777
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:13",
  "timestamp": 1733512513,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c25286e7-63eb-46e1-9e79-90147b828f43",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125119776061804956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:13.016 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@72f898af",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:13.016 [print] Response: null 
0.004
* url apiURL 0.000
13:15:11.587 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.241
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Ebonbane" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.222
13:15:11.614 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bb04909e-b3d8-45fe-819d-668c6bcfb46a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 316.77,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ebonbane",
    "email": "reynaldo22@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:13.831 response time in milliseconds: 2215
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:14",
  "timestamp": 1733512514,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bb04909e-b3d8-45fe-819d-668c6bcfb46a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125123046452504970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:13.834 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@36387e18",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:13.835 [print] Response: null 
0.004
* url apiURL 0.000
13:15:11.586 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.937
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Hellstrom" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.919
13:15:11.614 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "013eb73b-ed6a-4133-b1cc-a7409c363db8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 506.73,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Hellstrom",
    "email": "aleen3@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:13.529 response time in milliseconds: 1913
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:13",
  "timestamp": 1733512513,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "013eb73b-ed6a-4133-b1cc-a7409c363db8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125123876305704976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:13.531 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6cfa046b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:13.531 [print] Response: null 
0.007
* url apiURL 0.000
13:15:11.725 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.936
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Mournshade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.914
13:15:11.758 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5e8c736a-ad00-491f-9285-e1a6b3886bd0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 4268.68,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Mournshade",
    "email": "angel36@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:13.669 response time in milliseconds: 1910
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:13",
  "timestamp": 1733512513,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5e8c736a-ad00-491f-9285-e1a6b3886bd0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125125616871404978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:13.672 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1c3913bb",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:13.672 [print] Response: null 
0.003
* url apiURL 0.000
13:15:12.717 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.687
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.016
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Hellborn" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.668
13:15:12.745 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "69fc7421-f9ba-49e8-88f2-bf8c9eb5cee3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 697.85,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Hellborn",
    "email": "gina60@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:14.409 response time in milliseconds: 1663
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:25 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:14",
  "timestamp": 1733512514,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "69fc7421-f9ba-49e8-88f2-bf8c9eb5cee3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125135166406904975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:14.409 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@55fc529",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:14.410 [print] Response: null 
0.001
* url apiURL 0.000
13:15:13.018 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.845
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Nightshade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.827
13:15:13.035 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ee44668b-4be6-4783-b067-a8150809afd4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 187.94,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Nightshade",
    "email": "rolando76@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:14.860 response time in milliseconds: 1823
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:25 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:15",
  "timestamp": 1733512515,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ee44668b-4be6-4783-b067-a8150809afd4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125138046798404985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:14.865 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6841136b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:14.866 [print] Response: null 
0.004
* url apiURL 0.000
13:15:13.539 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.336
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Darkmoor" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.317
13:15:13.565 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bf1b0958-e128-4d7f-913a-5ff57836dc64",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 174.92,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Darkmoor",
    "email": "hugh12@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:15.881 response time in milliseconds: 2315
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:16",
  "timestamp": 1733512516,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bf1b0958-e128-4d7f-913a-5ff57836dc64",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125144836997904986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:15.882 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1553"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4b1876b5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:15.882 [print] Response: null 
0.001
* url apiURL 0.000
13:15:13.680 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.565
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Vex" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.543
13:15:13.702 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6f2ec960-b3dc-4179-93a3-5681d7ee3511",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 744.29,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Vex",
    "email": "matt8@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:16.244 response time in milliseconds: 2541
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:16",
  "timestamp": 1733512516,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6f2ec960-b3dc-4179-93a3-5681d7ee3511",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125145376824104981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:16.245 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1547"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6570c7c7",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:15:16.249 [print] Response: null 
0.001
* url apiURL 0.000
13:15:13.838 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.059
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.014
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Maleficent" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.042
13:15:13.859 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dd7f5725-1291-4bfa-a214-5a4114b26c00",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 4639.34,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Maleficent",
    "email": "norman22@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:15.898 response time in milliseconds: 2038
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:16",
  "timestamp": 1733512516,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "dd7f5725-1291-4bfa-a214-5a4114b26c00",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125147566711404983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:15.899 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@67d61cbd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:15.900 [print] Response: null 
0.003
* url apiURL 0.000
13:15:14.413 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.816
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.029
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Ironshadow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.780
13:15:14.453 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c9da2966-6d73-4946-88b6-ff0a9d4ed947",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 417.36,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ironshadow",
    "email": "doreen19@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:16.229 response time in milliseconds: 1775
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:16",
  "timestamp": 1733512516,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c9da2966-6d73-4946-88b6-ff0a9d4ed947",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125152656899504990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.002
13:15:16.233 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@540db0f2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:16.235 [print] Response: null 
0.005
* url apiURL 0.000
13:15:14.874 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.028
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Hades" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.007
13:15:14.903 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "91b3bf52-f1e8-4dc4-aa4b-f88c3ab06147",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 770.86,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Hades",
    "email": "granville76@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:16.908 response time in milliseconds: 2003
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:17",
  "timestamp": 1733512517,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "91b3bf52-f1e8-4dc4-aa4b-f88c3ab06147",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125158116065704956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:16.912 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2ae2326c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:16.912 [print] Response: null 
0.006
* url apiURL 0.000
13:15:15.889 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.042
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.017
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Sinclair" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.020
13:15:15.921 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "263ceee8-0137-4a04-849e-d5fbe5c62c08",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 981.3,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Sinclair",
    "email": "karly6@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:17.938 response time in milliseconds: 2016
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:18",
  "timestamp": 1733512518,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "263ceee8-0137-4a04-849e-d5fbe5c62c08",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125168956802304985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:17.940 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1552"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@20b62d93",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:17.941 [print] Response: null 
0.005
* url apiURL 0.000
13:15:15.905 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.018
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.010
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Craven" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.006
13:15:15.924 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e64c15c0-b013-4ef9-a547-5d951eb3ca68",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 15.67,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Craven",
    "email": "davis17@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:17.929 response time in milliseconds: 2004
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:18",
  "timestamp": 1733512518,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e64c15c0-b013-4ef9-a547-5d951eb3ca68",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125168366978004960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:17.931 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@62490a24",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:17.931 [print] Response: null 
0.013
* url apiURL 0.000
13:15:16.258 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.007
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.003
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.792
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.020
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Ashdown" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.766
13:15:16.301 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1746017c-ef9e-41b3-9f15-c4e41e2165ea",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 591.64,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Ashdown",
    "email": "cheryle12@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:18.062 response time in milliseconds: 1758
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:18",
  "timestamp": 1733512518,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1746017c-ef9e-41b3-9f15-c4e41e2165ea",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125170866391104988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:18.066 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6ddacbc0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:18.067 [print] Response: null 
0.002
* url apiURL 0.000
13:15:16.262 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.857
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Tombstone" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.838
13:15:16.287 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "02c4a205-4cec-479e-92f9-bbfc6119bd8b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 164.57,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Tombstone",
    "email": "elton93@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:18.122 response time in milliseconds: 1835
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:18",
  "timestamp": 1733512518,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "02c4a205-4cec-479e-92f9-bbfc6119bd8b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125170696714304983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:18.123 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1555"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@244adda8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:18.123 [print] Response: null 
0.001
* url apiURL 0.000
13:15:16.916 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.159
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Duskbringer" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.137
13:15:16.937 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "abe62061-d0d7-4302-870a-6954d5c823a7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 7268.71,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Duskbringer",
    "email": "zack90@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:19.071 response time in milliseconds: 2132
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:19",
  "timestamp": 1733512519,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "abe62061-d0d7-4302-870a-6954d5c823a7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125178366019404974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.002
* print 'Request:', karate.prevRequest 0.002
13:15:19.077 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3e35b963",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:19.078 [print] Response: null 
0.001
* url apiURL 0.000
13:15:17.932 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.961
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Hex" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.944
13:15:17.950 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aa0e68df-d30b-49eb-a841-9bac2f0dec87",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 59.76,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Hex",
    "email": "leopoldo42@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:19.892 response time in milliseconds: 1939
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:20",
  "timestamp": 1733512520,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "aa0e68df-d30b-49eb-a841-9bac2f0dec87",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125188106875204982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:19.894 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1551"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@693607ae",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:19.896 [print] Response: null 
0.002
* url apiURL 0.000
13:15:17.949 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.925
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.015
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Bloodsworth" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.906
13:15:17.973 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f6899dd4-5e3a-49a8-a7d9-a0661f23f4a5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 948.41,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Bloodsworth",
    "email": "sherman81@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:19.876 response time in milliseconds: 1902
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:20",
  "timestamp": 1733512520,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f6899dd4-5e3a-49a8-a7d9-a0661f23f4a5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125187816878404989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:15:19.878 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7de67ff",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:19.879 [print] Response: null 
0.001
* url apiURL 0.000
13:15:18.069 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.875
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.007
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.maternal_surname = "Viper" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.862
13:15:18.080 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5e270463-326a-4e4a-9aa3-21a5fa3e9269",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 2719.68,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Viper",
    "email": "doretta86@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:19.941 response time in milliseconds: 1859
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:20",
  "timestamp": 1733512520,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5e270463-326a-4e4a-9aa3-21a5fa3e9269",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125190066069804956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:19.946 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4972eb9f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:19.947 [print] Response: null 
0.003
* url apiURL 0.000
13:15:18.127 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.891
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.019
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.maternal_surname = "Thorne" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.863
13:15:18.158 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "361e0b83-632a-4d67-89f5-a5f1566191ab",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 8432.22,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Thorne",
    "email": "judith15@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:20.017 response time in milliseconds: 1857
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:20",
  "timestamp": 1733512520,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "361e0b83-632a-4d67-89f5-a5f1566191ab",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125189476966804987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.002
13:15:20.021 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1554"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5e7c62f2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.002
13:15:20.024 [print] Response: null 
0.004
* url apiURL 0.000
13:15:19.082 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.019
* def peticion = requestBody 0.000
* set peticion.client.email = dataGenerator.getRandomEmail() 0.012
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.maternal_surname = "Savage" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.001
13:15:19.106 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "01bd9f26-6cfa-455e-853f-03560502dd60",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 959.46,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Savage",
    "email": "flo65@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:21.105 response time in milliseconds: 1997
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:21",
  "timestamp": 1733512521,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "01bd9f26-6cfa-455e-853f-03560502dd60",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "No",
    "first_seen_days": "0",
    "first_verification_date": "12/06/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125199906415304975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:21.107 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1550"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5a546b57",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:21.108 [print] Response: null 
0.005
* url apiURL 0.000
13:15:19.882 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.001
* requestBody.transaction_id = uuid 0.000
1.764
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.black94@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.758
13:15:19.895 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "11716e78-d90c-4aef-a8c4-7d242efbe230",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 2065.08,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.black94@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:21.649 response time in milliseconds: 1753
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:21",
  "timestamp": 1733512521,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "11716e78-d90c-4aef-a8c4-7d242efbe230",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Lower Fraud Risk",
    "ea_reason": "Email Created at least  9.3  Years Ago",
    "ea_reason_id": "14",
    "ea_risk_band_id": "1",
    "ea_score": "74",
    "email_exists": "Yes",
    "first_seen_days": "3400",
    "first_verification_date": "08/15/2015",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125205996316304976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:21.653 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@26a4822c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:21.654 [print] Response: null 
0.004
* url apiURL 0.000
13:15:19.900 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.891
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.black63@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.887
13:15:19.912 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c1acd23d-9e47-4107-8040-e30432116cf3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6433.94,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.black63@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:21.795 response time in milliseconds: 1880
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:22",
  "timestamp": 1733512522,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c1acd23d-9e47-4107-8040-e30432116cf3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125206796040004984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:21.797 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1566"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@28e69cd3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:21.798 [print] Response: null 
0.006
* url apiURL 0.000
13:15:19.955 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.866
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.black51@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.864
13:15:19.968 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fe315b2d-1873-44d9-8f65-1b0e177693c8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 562.8,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.black51@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:21.830 response time in milliseconds: 1861
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:22",
  "timestamp": 1733512522,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fe315b2d-1873-44d9-8f65-1b0e177693c8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125207446164004953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:21.830 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@129d7d09",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:21.831 [print] Response: null 
0.002
* url apiURL 0.000
13:15:20.035 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.051
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.black5@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.048
13:15:20.040 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6c85220c-29b3-43da-ad0a-0cd488322b6d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 428.51,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.black5@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:22.088 response time in milliseconds: 2047
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:22",
  "timestamp": 1733512522,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6c85220c-29b3-43da-ad0a-0cd488322b6d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125209176983304960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:22.090 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1d15a709",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:22.090 [print] Response: null 
0.001
* url apiURL 0.000
13:15:21.112 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.836
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.black2@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.833
13:15:21.118 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e41f9d95-4920-4258-b442-114e74e632cd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 923.43,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.black2@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:22.949 response time in milliseconds: 1830
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:23",
  "timestamp": 1733512523,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e41f9d95-4920-4258-b442-114e74e632cd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125220026007604986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:22.951 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3b6310b2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:22.952 [print] Response: null 
0.001
* url apiURL 0.000
13:15:21.663 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.003
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.stone70@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.999
13:15:21.669 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0019b8a7-5046-4536-b3c4-2c4ebe6f8f5e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 322.59,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.stone70@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:23.665 response time in milliseconds: 1994
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:23",
  "timestamp": 1733512523,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0019b8a7-5046-4536-b3c4-2c4ebe6f8f5e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "158",
    "first_verification_date": "06/30/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125225796025104974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:23.668 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@76558335",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:23.669 [print] Response: null 
0.001
* url apiURL 0.000
13:15:21.806 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.857
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.stone78@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.855
13:15:21.818 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e1ee03a2-e882-40b1-93ab-b9ce4a53fbd6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 168.39,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.stone78@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:23.669 response time in milliseconds: 1850
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:23",
  "timestamp": 1733512523,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e1ee03a2-e882-40b1-93ab-b9ce4a53fbd6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125225906121904977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:23.671 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1dda4a55",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:23.671 [print] Response: null 
0.000
* url apiURL 0.000
13:15:21.833 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.859
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.stone60@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.858
13:15:21.836 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3324b293-4085-4667-97e6-544b99a56b04",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 12.47,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.stone60@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:23.693 response time in milliseconds: 1855
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:24",
  "timestamp": 1733512524,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3324b293-4085-4667-97e6-544b99a56b04",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125225676023004979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:23.694 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@35c2517e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:23.694 [print] Response: null 
0.004
* url apiURL 0.000
13:15:22.093 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.756
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.stone19@outlook.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.752
13:15:22.109 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2ad65756-927f-4e84-ac0b-cd823c340d52",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 399.18,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.stone19@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:23.854 response time in milliseconds: 1744
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:24",
  "timestamp": 1733512524,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2ad65756-927f-4e84-ac0b-cd823c340d52",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125229376678704980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:23.855 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6acd0f25",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:23.856 [print] Response: null 
0.001
* url apiURL 0.000
13:15:22.956 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.732
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.stone49@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.730
13:15:22.960 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "425a91ef-3fb8-465d-9039-f62cd1e3c4e7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 77.17,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.stone49@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:24.689 response time in milliseconds: 1728
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:24",
  "timestamp": 1733512524,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "425a91ef-3fb8-465d-9039-f62cd1e3c4e7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125236546043004984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:24.690 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@84e25ef",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:24.690 [print] Response: null 
0.001
* url apiURL 0.000
13:15:23.675 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.932
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost55@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.931
13:15:23.679 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f3121559-e7d7-4103-8b7a-ed0e8f094101",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 21.06,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.frost55@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:25.609 response time in milliseconds: 1930
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:25",
  "timestamp": 1733512525,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f3121559-e7d7-4103-8b7a-ed0e8f094101",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125244686882404982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:25.610 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@26b2c4f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:25.610 [print] Response: null 
0.001
* url apiURL 0.000
13:15:23.675 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.003
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost55@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.002
13:15:23.678 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9a00cacc-9faf-4d96-a5e7-ec44e582722f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 426.08,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.frost55@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:25.679 response time in milliseconds: 2000
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:25",
  "timestamp": 1733512525,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9a00cacc-9faf-4d96-a5e7-ec44e582722f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125244656973104987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:25.681 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@37098742",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:25.681 [print] Response: null 
0.002
* url apiURL 0.000
13:15:23.697 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.909
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost62@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.907
13:15:23.706 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "77ee1859-5a3b-490f-b75b-6ffa83b5792c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 951.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.frost62@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:25.609 response time in milliseconds: 1902
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:25",
  "timestamp": 1733512525,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "77ee1859-5a3b-490f-b75b-6ffa83b5792c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125244926835704981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:25.610 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@12fe7d86",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:25.610 [print] Response: null 
0.003
* url apiURL 0.000
13:15:23.862 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.813
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost63@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.810
13:15:23.872 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9a0dd101-6522-4b32-b8ac-67a617dba561",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 687.31,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.frost63@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:25.679 response time in milliseconds: 1806
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:25",
  "timestamp": 1733512525,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9a0dd101-6522-4b32-b8ac-67a617dba561",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125245916886004978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:25.681 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4e1c7f99",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:25.681 [print] Response: null 
0.002
* url apiURL 0.000
13:15:24.694 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.348
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost81@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.345
13:15:24.701 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d3650268-33fb-4dad-ab89-54cefcb32c69",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 542.83,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.frost81@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:27.043 response time in milliseconds: 2341
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:27",
  "timestamp": 1733512527,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d3650268-33fb-4dad-ab89-54cefcb32c69",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125254976837104981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:27.045 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@22940b7f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:27.046 [print] Response: null 
0.003
* url apiURL 0.000
13:15:25.614 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.246
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.steel99@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.242
13:15:25.623 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7f796f38-93e9-4632-a287-736b3797b873",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 605.18,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.steel99@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:27.863 response time in milliseconds: 2239
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:28",
  "timestamp": 1733512528,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7f796f38-93e9-4632-a287-736b3797b873",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125268186838304981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:27.865 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6a4842c5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:27.865 [print] Response: null 
0.003
* url apiURL 0.000
13:15:25.614 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.421
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.steel74@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.404
13:15:25.623 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ee84152f-37b2-4333-8e9f-ce78ad740566",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 827.14,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.steel74@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:28.024 response time in milliseconds: 2398
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:28",
  "timestamp": 1733512528,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ee84152f-37b2-4333-8e9f-ce78ad740566",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125269106470104970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.012
13:15:28.039 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4a431c13",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:28.041 [print] Response: null 
0.001
* url apiURL 0.000
13:15:25.688 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.179
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.steel68@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.170
13:15:25.694 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "63785878-9286-4950-9f77-ba24762ee549",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 152.02,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.steel68@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:27.863 response time in milliseconds: 2168
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:28",
  "timestamp": 1733512528,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "63785878-9286-4950-9f77-ba24762ee549",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125268106913404990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:27.865 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@37f3c2a3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.006
13:15:27.871 [print] Response: null 
0.001
* url apiURL 0.000
13:15:25.688 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.173
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.steel65@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.170
13:15:25.694 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d6ac7f90-04da-4d5d-99d0-1eb7a1aad09b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 74.03,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.steel65@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:27.863 response time in milliseconds: 2168
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:28",
  "timestamp": 1733512528,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d6ac7f90-04da-4d5d-99d0-1eb7a1aad09b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125267246887704978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:27.865 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@681ea821",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:27.865 [print] Response: null 
0.002
* url apiURL 0.000
13:15:27.051 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.903
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.steel71@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.901
13:15:27.057 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9e5637f3-5261-4dcd-b158-45522e02c448",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 62.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.steel71@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:28.957 response time in milliseconds: 1899
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:29",
  "timestamp": 1733512529,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9e5637f3-5261-4dcd-b158-45522e02c448",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125279276839704981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:28.958 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@9884d43",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:28.958 [print] Response: null 
0.001
* url apiURL 0.000
13:15:27.875 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.952
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight27@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.950
13:15:27.880 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dfcc0885-1938-45ad-b7fa-279f273167dc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 35.24,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.knight27@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:29.828 response time in milliseconds: 1946
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:30",
  "timestamp": 1733512530,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "dfcc0885-1938-45ad-b7fa-279f273167dc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "9"
  },
  "decision_manager": {
    "id": "7335125287226424704975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:29.829 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7d1e7ec2",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:29.829 [print] Response: null 
0.002
* url apiURL 0.000
13:15:27.872 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.089
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight35@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.086
13:15:27.880 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ee7c0124-f7f0-4a7e-b7cf-867455cb5166",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 870.3,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.knight35@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:29.963 response time in milliseconds: 2082
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:30",
  "timestamp": 1733512530,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ee7c0124-f7f0-4a7e-b7cf-867455cb5166",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125286476887804982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:29.965 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2e70b7ce",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:29.965 [print] Response: null 
0.001
* url apiURL 0.000
13:15:27.875 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.829
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight24@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.828
13:15:27.880 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ad3b3870-393f-46cd-94d7-93c39e30c87f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 63.69,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.knight24@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:29.705 response time in milliseconds: 1825
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:29",
  "timestamp": 1733512529,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ad3b3870-393f-46cd-94d7-93c39e30c87f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125285896140404973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:29.706 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@77d08ced",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:29.706 [print] Response: null 
0.020
* url apiURL 0.000
13:15:28.058 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.015
* requestBody.transaction_id = uuid 0.000
1.844
* def peticion = requestBody 0.005
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.knight79@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.832
13:15:28.095 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e3446c0b-2201-41c7-8732-d6f0f2f1b11e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 74.39,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.knight79@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:29.922 response time in milliseconds: 1824
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:30",
  "timestamp": 1733512530,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e3446c0b-2201-41c7-8732-d6f0f2f1b11e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125288686031904974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:29.926 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7714d694",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:29.927 [print] Response: null 
0.003
* url apiURL 0.000
13:15:28.967 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.731
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight57@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.729
13:15:28.975 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "715f3f6b-f2cc-48c6-96ef-3205500a3fee",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 768.77,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.knight57@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:30.703 response time in milliseconds: 1727
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:41 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:31",
  "timestamp": 1733512531,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "715f3f6b-f2cc-48c6-96ef-3205500a3fee",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125297966404704988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:30.704 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@68545c7b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:30.704 [print] Response: null 
0.003
* url apiURL 0.000
13:15:29.710 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.677
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.raven90@gmail.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.672
13:15:29.721 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "744d6672-310e-4b88-a29a-4a2392bf3d68",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 461.03,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.raven90@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:32.388 response time in milliseconds: 2665
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:32",
  "timestamp": 1733512532,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "744d6672-310e-4b88-a29a-4a2392bf3d68",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125307516891004989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:32.390 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@45602afa",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:32.391 [print] Response: null 
0.003
* url apiURL 0.000
13:15:29.838 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.985
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.raven55@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.982
13:15:29.848 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e41d9ccb-bdbe-4377-bd3c-07e7ecdb802e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 229.84,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.raven55@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:31.828 response time in milliseconds: 1977
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:32",
  "timestamp": 1733512532,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e41d9ccb-bdbe-4377-bd3c-07e7ecdb802e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125307826427304975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:31.830 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@b5468b8",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:31.831 [print] Response: null 
0.003
* url apiURL 0.000
13:15:29.934 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.717
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.raven49@yahoo.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.711
13:15:29.946 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cfa38516-8ad8-443c-8392-367c053c72c3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 70.87,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.raven49@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:31.652 response time in milliseconds: 1703
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:31",
  "timestamp": 1733512531,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cfa38516-8ad8-443c-8392-367c053c72c3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125307416819204985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.002
13:15:31.655 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1cdac79d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:31.656 [print] Response: null 
0.000
* url apiURL 0.000
13:15:29.968 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.931
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.raven65@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.928
13:15:29.974 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "22c10250-f176-4a8e-8aa3-746ed5c161a5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 154.55,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.raven65@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:31.899 response time in milliseconds: 1924
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:32",
  "timestamp": 1733512532,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "22c10250-f176-4a8e-8aa3-746ed5c161a5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125308726918304990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:31.900 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@48c5901b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:31.901 [print] Response: null 
0.001
* url apiURL 0.000
13:15:30.706 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.829
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.raven5@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.825
13:15:30.711 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8dfdd22d-4c4c-4ec7-ab1d-c3c707137feb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 24.88,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.raven5@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:32.534 response time in milliseconds: 1821
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:43 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:32",
  "timestamp": 1733512532,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8dfdd22d-4c4c-4ec7-ab1d-c3c707137feb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125316396689304980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:32.537 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2608be03",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:32.537 [print] Response: null 
0.002
* url apiURL 0.000
13:15:31.675 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.921
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.storm88@gmail.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.916
13:15:31.687 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ad92e506-da00-46ec-80a7-b1d0d462c5c5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 682.18,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.storm88@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:33.598 response time in milliseconds: 1909
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:33",
  "timestamp": 1733512533,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ad92e506-da00-46ec-80a7-b1d0d462c5c5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125325286893204989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:33.601 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@9977144",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:33.601 [print] Response: null 
0.003
* url apiURL 0.000
13:15:31.838 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.758
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.storm77@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.756
13:15:31.848 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "66313745-e43d-49f8-8570-3f5dbbffe71d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 2439.66,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.storm77@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:33.601 response time in milliseconds: 1751
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:33",
  "timestamp": 1733512533,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "66313745-e43d-49f8-8570-3f5dbbffe71d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125325476408404988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:33.601 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1566"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@314354e5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:33.601 [print] Response: null 
0.002
* url apiURL 0.000
13:15:31.909 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.856
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.storm34@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.855
13:15:31.915 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "295c85b6-a0b1-4cbc-8b17-7a04d873eecc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 511.64,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.storm34@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:33.769 response time in milliseconds: 1853
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:34",
  "timestamp": 1733512534,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "295c85b6-a0b1-4cbc-8b17-7a04d873eecc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125327006053404984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:33.770 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@199e6d50",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:33.770 [print] Response: null 
0.003
* url apiURL 0.000
13:15:32.402 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.818
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.003
* set peticion.client.email = "hunter.storm2@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.813
13:15:32.413 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c06357e7-531b-4de0-8ff6-1355145e8630",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 618.95,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.storm2@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:34.224 response time in milliseconds: 1808
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:34",
  "timestamp": 1733512534,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c06357e7-531b-4de0-8ff6-1355145e8630",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125331536732704983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:34.226 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@26662a6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:34.227 [print] Response: null 
0.004
* url apiURL 0.000
13:15:32.566 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.051
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.storm96@live.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.046
13:15:32.594 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f239f31e-227a-4668-99bd-e031f6810a02",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 83.91,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.storm96@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:34.621 response time in milliseconds: 2026
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:34",
  "timestamp": 1733512534,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f239f31e-227a-4668-99bd-e031f6810a02",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "15"
  },
  "decision_manager": {
    "id": "7335125334786733204983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:34.624 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@22dc9832",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:34.624 [print] Response: null 
0.001
* url apiURL 0.000
13:15:33.604 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.455
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.hawk57@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.450
13:15:33.610 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f855a723-7184-4394-bd62-30b2b8f9a36c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6291.44,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.hawk57@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:36.058 response time in milliseconds: 2446
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:36",
  "timestamp": 1733512536,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f855a723-7184-4394-bd62-30b2b8f9a36c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125342996733804983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:36.061 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7c427a58",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:36.062 [print] Response: null 
0.001
* url apiURL 0.000
13:15:33.604 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.456
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.hawk33@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.453
13:15:33.610 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4eb32da5-e1ed-442b-b251-0fbd6c5a7352",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 45.26,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.hawk33@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:36.061 response time in milliseconds: 2449
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:36",
  "timestamp": 1733512536,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4eb32da5-e1ed-442b-b251-0fbd6c5a7352",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125344116180104953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:36.062 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@228dfa9c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:36.063 [print] Response: null 
0.003
* url apiURL 0.000
13:15:33.775 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.560
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.hawk80@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.556
13:15:33.786 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "70592788-2406-42d3-9729-9232f1655c4e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 19.34,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.hawk80@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:36.338 response time in milliseconds: 2552
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:36",
  "timestamp": 1733512536,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "70592788-2406-42d3-9729-9232f1655c4e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125345426411204988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:36.340 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@41e73601",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:36.341 [print] Response: null 
0.004
* url apiURL 0.000
13:15:34.232 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.100
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.hawk92@outlook.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.096
13:15:34.245 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a1071191-1ac9-403e-b64f-5e3185e90cf0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 75.3,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.hawk92@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:36.338 response time in milliseconds: 2093
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:36",
  "timestamp": 1733512536,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a1071191-1ac9-403e-b64f-5e3185e90cf0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125350146848204981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:36.340 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@16249a1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:36.340 [print] Response: null 
0.002
* url apiURL 0.000
13:15:34.633 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.844
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.hawk98@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.840
13:15:34.644 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e0d0bc94-87bc-4dd3-a914-83ec7a6c9300",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 365.28,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.hawk98@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:36.479 response time in milliseconds: 1835
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:36",
  "timestamp": 1733512536,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e0d0bc94-87bc-4dd3-a914-83ec7a6c9300",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125354526825304985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:36.482 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6c1a181f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:36.483 [print] Response: null 
0.001
* url apiURL 0.000
13:15:36.068 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.985
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.wolf19@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.982
13:15:36.074 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a2d6b108-be82-41a8-81ad-83be7e1cef01",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 54.27,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.wolf19@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:38.053 response time in milliseconds: 1976
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:48 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:38",
  "timestamp": 1733512538,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a2d6b108-be82-41a8-81ad-83be7e1cef01",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125369666335004976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:38.055 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@51242ad6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:38.056 [print] Response: null 
0.001
* url apiURL 0.000
13:15:36.068 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.790
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.wolf68@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.786
13:15:36.074 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f4303276-a0ef-424b-97a8-f8768b3ab0a5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6864.55,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.wolf68@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:37.857 response time in milliseconds: 1781
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:48 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:38",
  "timestamp": 1733512538,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f4303276-a0ef-424b-97a8-f8768b3ab0a5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125367596482704970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:37.859 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@584d1df3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:37.861 [print] Response: null 
0.003
* url apiURL 0.000
13:15:36.348 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.604
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.wolf83@yahoo.com" 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.572
13:15:36.360 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bb7c4f1b-f986-4247-8b28-924cafa77946",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 699.25,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.wolf83@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:38.929 response time in milliseconds: 2564
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:39",
  "timestamp": 1733512539,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bb7c4f1b-f986-4247-8b28-924cafa77946",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125372496898704989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.023
13:15:38.953 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@279edf8f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:15:38.957 [print] Response: null 
0.002
* url apiURL 0.000
13:15:36.351 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.566
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.wolf89@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.563
13:15:36.360 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a102d0c5-870b-4bb1-afbb-c6a694443f06",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 101.9,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.wolf89@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:37.919 response time in milliseconds: 1558
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:48 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:38",
  "timestamp": 1733512538,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a102d0c5-870b-4bb1-afbb-c6a694443f06",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125370476024604986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:37.921 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@484de6bf",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:37.921 [print] Response: null 
0.001
* url apiURL 0.000
13:15:36.493 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.009
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.wolf43@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.006
13:15:36.500 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "75882de4-1dce-4c5e-920f-148e272df364",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 66.86,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "hunter.wolf43@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:38.502 response time in milliseconds: 1997
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:38",
  "timestamp": 1733512538,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "75882de4-1dce-4c5e-920f-148e272df364",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125373886058504984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:38.504 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@68e7edb1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:38.505 [print] Response: null 
0.000
* url apiURL 0.000
13:15:37.865 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.880
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.black72@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.876
13:15:37.870 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "762d20cb-8b70-4c5a-a2a9-96f512a0af37",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 770.58,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.black72@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:39.744 response time in milliseconds: 1872
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:40",
  "timestamp": 1733512540,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "762d20cb-8b70-4c5a-a2a9-96f512a0af37",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125386566142104977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:15:39.747 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@38c51bad",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:39.747 [print] Response: null 
0.002
* url apiURL 0.000
13:15:37.927 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.816
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.black79@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.813
13:15:37.933 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6bb7c6f9-ce31-4622-9c81-9d5c583a5831",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 900.11,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.black79@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:39.744 response time in milliseconds: 1809
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:40",
  "timestamp": 1733512540,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6bb7c6f9-ce31-4622-9c81-9d5c583a5831",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125387136415604988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:15:39.746 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2c95cde1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:39.747 [print] Response: null 
0.002
* url apiURL 0.000
13:15:38.060 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.986
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.black97@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.982
13:15:38.070 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1e3a0db2-7aef-4b32-98e3-a856c2781ab5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 1636.21,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.black97@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:40.048 response time in milliseconds: 1977
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:40",
  "timestamp": 1733512540,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1e3a0db2-7aef-4b32-98e3-a856c2781ab5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125388326899104982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:40.049 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@a231664",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:40.051 [print] Response: null 
0.003
* url apiURL 0.000
13:15:38.508 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.151
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.black58@outlook.com" 0.025
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.123
13:15:38.554 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "50c47166-d9bc-46a4-889d-6752d56dbe6c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 499.11,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.black58@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:40.662 response time in milliseconds: 2108
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:51 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:40",
  "timestamp": 1733512540,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "50c47166-d9bc-46a4-889d-6752d56dbe6c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125394906027504986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:40.663 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@44b719f9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:40.664 [print] Response: null 
0.006
* url apiURL 0.000
13:15:38.971 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.722
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.black65@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.718
13:15:38.985 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "92d72ae5-367f-424a-9292-14db8b1f508a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 338.47,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.black65@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:40.699 response time in milliseconds: 1713
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:51 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:41",
  "timestamp": 1733512541,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "92d72ae5-367f-424a-9292-14db8b1f508a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125397666042504979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:40.701 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6252540b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:40.702 [print] Response: null 
0.004
* url apiURL 0.000
13:15:39.751 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.933
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.stone82@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.929
13:15:39.766 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1382684f-6465-4a3c-8568-3037d7d0c486",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 763.36,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.stone82@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:41.688 response time in milliseconds: 1920
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:41",
  "timestamp": 1733512541,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1382684f-6465-4a3c-8568-3037d7d0c486",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125405676062204984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:41.689 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1ea7cab0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:41.690 [print] Response: null 
0.004
* url apiURL 0.000
13:15:39.759 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.925
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.stone1@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.921
13:15:39.769 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cf24836b-c40b-4cc1-8161-450176b74d1a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 49.79,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.stone1@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:41.688 response time in milliseconds: 1917
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:41",
  "timestamp": 1733512541,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cf24836b-c40b-4cc1-8161-450176b74d1a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125407036487804970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.002
13:15:41.691 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@426f2682",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:41.691 [print] Response: null 
0.003
* url apiURL 0.000
13:15:40.062 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.713
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.stone39@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.710
13:15:40.072 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9d1b6a65-9c82-4a58-94f6-10b66ab924dd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 549.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.stone39@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:41.779 response time in milliseconds: 1705
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:42",
  "timestamp": 1733512542,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9d1b6a65-9c82-4a58-94f6-10b66ab924dd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125407606991604987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:41.781 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@673c8714",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:41.781 [print] Response: null 
0.003
* url apiURL 0.000
13:15:40.672 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.780
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.stone66@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.776
13:15:40.681 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3d3b8e4d-5bd6-4106-b012-9a4f5199b113",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 860.59,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.stone66@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:42.455 response time in milliseconds: 1773
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:42",
  "timestamp": 1733512542,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3d3b8e4d-5bd6-4106-b012-9a4f5199b113",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125414876046804974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:42.458 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@422bcb26",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:42.459 [print] Response: null 
0.003
* url apiURL 0.000
13:15:40.707 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.822
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.stone64@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.820
13:15:40.715 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e86e4dc9-6ae4-4e8c-ab8e-969182669b3b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 72.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.stone64@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:42.533 response time in milliseconds: 1816
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:42",
  "timestamp": 1733512542,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e86e4dc9-6ae4-4e8c-ab8e-969182669b3b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125415156340104976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:42.534 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@465201cd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:42.535 [print] Response: null 
0.001
* url apiURL 0.000
13:15:41.697 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.734
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.frost29@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.730
13:15:41.702 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f6a13970-9671-4f7c-a567-2c6dc23538ba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 256.21,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.frost29@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:43.430 response time in milliseconds: 1725
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:43",
  "timestamp": 1733512543,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f6a13970-9671-4f7c-a567-2c6dc23538ba",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125424856030604986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:43.433 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2cd967bd",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:43.434 [print] Response: null 
0.001
* url apiURL 0.000
13:15:41.697 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.830
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.frost82@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.826
13:15:41.702 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9f958c2a-97f5-4f74-9df5-d336ce96db31",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 53.76,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.frost82@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:43.526 response time in milliseconds: 1822
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:54 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:43",
  "timestamp": 1733512543,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9f958c2a-97f5-4f74-9df5-d336ce96db31",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125424756341404976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:43.529 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3ae5f53c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:43.530 [print] Response: null 
0.002
* url apiURL 0.000
13:15:41.785 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.645
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.002
* set peticion.client.email = "ryker.frost84@yahoo.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.638
13:15:41.797 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ff096646-187a-4425-9362-3fb8a5171754",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 433.87,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.frost84@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:43.430 response time in milliseconds: 1630
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:43",
  "timestamp": 1733512543,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ff096646-187a-4425-9362-3fb8a5171754",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125425046097404956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:43.433 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@45c4ac71",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:43.435 [print] Response: null 
0.000
* url apiURL 0.000
13:15:42.462 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.901
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.frost80@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.898
13:15:42.465 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "37b6f3fe-5c9b-4954-8b05-c93c05b4bd6f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 559.0,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.frost80@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:44.362 response time in milliseconds: 1894
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:54 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:44",
  "timestamp": 1733512544,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "37b6f3fe-5c9b-4954-8b05-c93c05b4bd6f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125433546994904987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:44.364 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@190f6765",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:44.365 [print] Response: null 
0.002
* url apiURL 0.000
13:15:42.543 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.606
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.frost64@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.602
13:15:42.549 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "590c186b-6b27-46f2-8e36-9f432c8e4c54",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 877.35,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.frost64@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:44.149 response time in milliseconds: 1597
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:54 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:44",
  "timestamp": 1733512544,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "590c186b-6b27-46f2-8e36-9f432c8e4c54",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125432506048804974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:44.152 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2b8224f9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:44.153 [print] Response: null 
0.001
* url apiURL 0.000
13:15:43.439 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.852
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.steel57@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.850
13:15:43.446 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9a5d0b9f-86c6-45f9-934d-f84c79e6ad36",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 6371.39,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.steel57@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:45.293 response time in milliseconds: 1845
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:45",
  "timestamp": 1733512545,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9a5d0b9f-86c6-45f9-934d-f84c79e6ad36",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125443476343504976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:45.294 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6c6fc6be",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:45.294 [print] Response: null 
0.001
* url apiURL 0.000
13:15:43.440 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.832
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.steel81@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.830
13:15:43.444 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1a3f5d03-3059-4f7c-a689-63d1bbd96bd1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 463.41,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.steel81@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:45.273 response time in milliseconds: 1827
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:45",
  "timestamp": 1733512545,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1a3f5d03-3059-4f7c-a689-63d1bbd96bd1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125441616745004983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:45.274 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2a3cc4e7",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:45.274 [print] Response: null 
0.008
* url apiURL 0.000
13:15:43.542 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.971
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.steel51@yahoo.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.947
13:15:43.562 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d54f605b-d106-47b4-8cbc-276defb3f2b8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 56.14,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.steel51@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:45.503 response time in milliseconds: 1938
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:45",
  "timestamp": 1733512545,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d54f605b-d106-47b4-8cbc-276defb3f2b8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125445936443704975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.011
13:15:45.516 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3e7ceb54",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.008
13:15:45.524 [print] Response: null 
0.001
* url apiURL 0.000
13:15:44.157 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.823
* def peticion = requestBody 0.004
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.steel48@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.815
13:15:44.184 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e8e77e95-537c-424a-896f-11dcb9298567",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 760.8,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.steel48@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:45.989 response time in milliseconds: 1804
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:46",
  "timestamp": 1733512546,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e8e77e95-537c-424a-896f-11dcb9298567",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125449486048004979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:45.991 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@dc5a66b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:45.992 [print] Response: null 
0.011
* url apiURL 0.000
13:15:44.380 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.006
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.103
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.steel44@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.099
13:15:44.416 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4dbd8bdf-6a81-4fe2-ae4d-86b3e99e1081",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 629.65,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.steel44@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:46.499 response time in milliseconds: 2082
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:46",
  "timestamp": 1733512546,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4dbd8bdf-6a81-4fe2-ae4d-86b3e99e1081",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Lower Fraud Risk",
    "ea_reason": "Email Created at least  0.5  Years Ago",
    "ea_reason_id": "14",
    "ea_risk_band_id": "2",
    "ea_score": "246",
    "email_exists": "Yes",
    "first_seen_days": "196",
    "first_verification_date": "05/23/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125454036067704984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:46.500 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7006231a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:46.500 [print] Response: null 
0.000
* url apiURL 0.000
13:15:45.276 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.348
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.knight36@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.345
13:15:45.282 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e4555667-0774-4ea8-9959-666d275a83f4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9896.23,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.knight36@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:47.625 response time in milliseconds: 2343
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:47",
  "timestamp": 1733512547,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e4555667-0774-4ea8-9959-666d275a83f4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125459896013804960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:47.626 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@63e61353",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:47.626 [print] Response: null 
0.003
* url apiURL 0.000
13:15:45.299 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.814
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.knight70@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.810
13:15:45.309 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b798dfec-b55a-4ccb-b865-c43355314a68",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 429.57,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.knight70@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:47.116 response time in milliseconds: 1805
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:47",
  "timestamp": 1733512547,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b798dfec-b55a-4ccb-b865-c43355314a68",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125461756103104956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:47.118 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@3dbca5aa",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:47.119 [print] Response: null 
0.003
* url apiURL 0.000
13:15:45.550 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.245
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.knight39@yahoo.com" 0.007
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.235
13:15:45.574 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "82f55460-3ae9-4848-ad26-122d139d27f5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 434.3,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.knight39@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:47.806 response time in milliseconds: 2230
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:48",
  "timestamp": 1733512548,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "82f55460-3ae9-4848-ad26-122d139d27f5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125463016151604977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:47.809 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5f18db13",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:47.809 [print] Response: null 
0.002
* url apiURL 0.000
13:15:45.994 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.695
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.knight79@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.693
13:15:46.002 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a47e5d8c-7377-4a22-8b53-e07ca6541888",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 870.35,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.knight79@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:47.691 response time in milliseconds: 1689
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:48",
  "timestamp": 1733512548,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a47e5d8c-7377-4a22-8b53-e07ca6541888",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125466856936504990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:47.692 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@40c8b2f1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:47.692 [print] Response: null 
0.002
* url apiURL 0.000
13:15:46.503 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.815
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.knight15@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.813
13:15:46.516 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c818c9b2-c68d-4257-a8ea-1f2f459fcc1e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 22.06,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.knight15@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:48.321 response time in milliseconds: 1803
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:48",
  "timestamp": 1733512548,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c818c9b2-c68d-4257-a8ea-1f2f459fcc1e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125473306863904981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:48.322 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2bf03959",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:48.322 [print] Response: null 
0.001
* url apiURL 0.000
13:15:47.124 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.500
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.raven75@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.498
13:15:47.130 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b7483854-fd22-465f-ac54-61d82d9977f6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 95.24,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.raven75@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:49.625 response time in milliseconds: 2494
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:49",
  "timestamp": 1733512549,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b7483854-fd22-465f-ac54-61d82d9977f6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125479496163204973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:49.626 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@591cc434",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:49.627 [print] Response: null 
0.003
* url apiURL 0.000
13:15:47.633 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.833
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.raven83@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.830
13:15:47.641 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "019c595a-80fa-4595-bd04-6b5bae7754cc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3778.34,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.raven83@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:49.470 response time in milliseconds: 1828
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:49",
  "timestamp": 1733512549,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "019c595a-80fa-4595-bd04-6b5bae7754cc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125484386707104980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:49.471 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@12b829a1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:49.472 [print] Response: null 
0.003
* url apiURL 0.000
13:15:47.696 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.770
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.raven82@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.767
13:15:47.707 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "38dbd728-fc4d-40cb-9e88-ffe7c951a56d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 448.66,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.raven82@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:49.470 response time in milliseconds: 1762
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:40:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:49",
  "timestamp": 1733512549,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "38dbd728-fc4d-40cb-9e88-ffe7c951a56d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125484866037504986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:49.471 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@472d298f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:49.472 [print] Response: null 
0.003
* url apiURL 0.000
13:15:47.814 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.732
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.raven36@outlook.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.727
13:15:47.827 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "04c79a7f-81a5-41c7-960a-ff0ca3e13468",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 185.07,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.raven36@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:49.549 response time in milliseconds: 1720
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:49",
  "timestamp": 1733512549,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "04c79a7f-81a5-41c7-960a-ff0ca3e13468",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125485086939004990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:15:49.551 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@69c826a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:49.552 [print] Response: null 
0.002
* url apiURL 0.000
13:15:48.326 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.777
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.raven13@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.774
13:15:48.336 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ff315fbf-77c5-49a4-809e-a987e10db852",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 94.24,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.raven13@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:50.106 response time in milliseconds: 1767
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:50",
  "timestamp": 1733512550,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ff315fbf-77c5-49a4-809e-a987e10db852",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125490376155304977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:50.107 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6406c93e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:50.108 [print] Response: null 
0.001
* url apiURL 0.000
13:15:49.474 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.457
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.storm92@gmail.com" 0.007
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.443
13:15:49.486 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f85162fe-081d-4843-a86c-afc88fb9da49",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 818.73,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.storm92@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:51.927 response time in milliseconds: 2440
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:52",
  "timestamp": 1733512552,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f85162fe-081d-4843-a86c-afc88fb9da49",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125501696003104987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:51.928 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5b55802f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.005
13:15:51.933 [print] Response: null 
0.001
* url apiURL 0.000
13:15:49.474 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.919
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.storm35@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.913
13:15:49.478 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8f169611-34a9-4a4e-9de0-2d1b3eeb281d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 783.36,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.storm35@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:51.389 response time in milliseconds: 1910
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:51",
  "timestamp": 1733512551,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8f169611-34a9-4a4e-9de0-2d1b3eeb281d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125502546917604978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:51.392 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@42a7c39b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.003
13:15:51.395 [print] Response: null 
0.001
* url apiURL 0.000
13:15:49.558 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.746
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.storm93@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.743
13:15:49.565 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9889e7ed-6560-4521-8710-256f88accfc1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 749.49,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.storm93@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:51.304 response time in milliseconds: 1738
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:51",
  "timestamp": 1733512551,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9889e7ed-6560-4521-8710-256f88accfc1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125502486350504976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:51.306 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4a9a76fa",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:51.306 [print] Response: null 
0.004
* url apiURL 0.000
13:15:49.634 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.836
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.storm87@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.833
13:15:49.644 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a596c728-3380-45a3-8fd9-1e0ad36e65cb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 30.1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.storm87@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:51.475 response time in milliseconds: 1829
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:51",
  "timestamp": 1733512551,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a596c728-3380-45a3-8fd9-1e0ad36e65cb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125504156913404989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:51.477 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@511cca03",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:51.477 [print] Response: null 
0.001
* url apiURL 0.000
13:15:50.113 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.812
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.storm41@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.810
13:15:50.122 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7820bdb2-47f9-456e-a79e-a95e8d439967",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 826.79,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.storm41@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:51.927 response time in milliseconds: 1804
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:52",
  "timestamp": 1733512552,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7820bdb2-47f9-456e-a79e-a95e8d439967",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125509426351604976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:51.928 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@282fe0e1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:51.928 [print] Response: null 
0.002
* url apiURL 0.000
13:15:51.311 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.845
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.hunter16@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.842
13:15:51.317 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "919d7aca-4897-4569-aeda-e726840e5188",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 570.47,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hunter16@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:53.158 response time in milliseconds: 1839
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:53",
  "timestamp": 1733512553,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "919d7aca-4897-4569-aeda-e726840e5188",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125521256501704970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:53.159 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4e522d63",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:53.160 [print] Response: null 
0.002
* url apiURL 0.000
13:15:51.403 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.753
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.hunter33@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.750
13:15:51.410 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e0f7a6f8-f227-4fa1-bda5-35b7d03102d6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 200.82,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hunter33@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:53.158 response time in milliseconds: 1746
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:53",
  "timestamp": 1733512553,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e0f7a6f8-f227-4fa1-bda5-35b7d03102d6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125521736920104978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:53.159 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2dea2033",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:53.160 [print] Response: null 
0.001
* url apiURL 0.000
13:15:51.479 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.869
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.hunter26@yahoo.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.865
13:15:51.490 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aebc157d-5fff-406f-8e68-ef2592d7667d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 838.71,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hunter26@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:53.348 response time in milliseconds: 1856
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:53",
  "timestamp": 1733512553,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "aebc157d-5fff-406f-8e68-ef2592d7667d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125521986110804956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:53.351 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@231d202d",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:53.351 [print] Response: null 
0.003
* url apiURL 0.000
13:15:51.939 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.724
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.hunter35@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.722
13:15:51.950 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0584a327-516d-4173-ac16-f95c593fd019",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 117.25,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hunter35@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:53.668 response time in milliseconds: 1717
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:04 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:53",
  "timestamp": 1733512553,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0584a327-516d-4173-ac16-f95c593fd019",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125526646755104983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:53.669 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@49c96a02",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:53.669 [print] Response: null 
0.002
* url apiURL 0.000
13:15:51.942 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.571
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.hunter10@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.569
13:15:51.947 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "714b514a-d4ab-490d-a9cc-579178f5ac57",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 965.63,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hunter10@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:54.515 response time in milliseconds: 2567
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:54",
  "timestamp": 1733512554,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "714b514a-d4ab-490d-a9cc-579178f5ac57",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125527426022204960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:54.517 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@d612a0f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:54.517 [print] Response: null 
0.001
* url apiURL 0.000
13:15:53.166 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.508
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.hawk97@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.505
13:15:53.169 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "59db4357-37d4-4b8a-8e72-7e0d7c8ae362",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 532.37,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hawk97@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:55.673 response time in milliseconds: 2502
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:06 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:55",
  "timestamp": 1733512555,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "59db4357-37d4-4b8a-8e72-7e0d7c8ae362",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125539986871004981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:55.676 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@69f27f0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:55.677 [print] Response: null 
0.001
* url apiURL 0.000
13:15:53.166 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.933
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.hawk56@hotmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.932
13:15:53.170 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3374e5a9-2147-43fc-9aa8-1dd5e9eeb8e2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 45.61,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hawk56@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:55.101 response time in milliseconds: 1930
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:55",
  "timestamp": 1733512555,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3374e5a9-2147-43fc-9aa8-1dd5e9eeb8e2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125539736006904987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:55.102 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@56e5bb64",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:55.102 [print] Response: null 
0.001
* url apiURL 0.000
13:15:53.357 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.861
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.hawk51@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.859
13:15:53.361 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f645ade8-68a0-485a-97fa-33b96f42d86e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 246.59,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hawk51@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:55.220 response time in milliseconds: 1857
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:55",
  "timestamp": 1733512555,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f645ade8-68a0-485a-97fa-33b96f42d86e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125541736202604953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:55.221 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@311f86fb",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:55.222 [print] Response: null 
0.003
* url apiURL 0.000
13:15:53.672 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.939
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.hawk72@outlook.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.935
13:15:53.683 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bb2061de-92f6-4ad1-a768-040d14a2fc3b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 667.91,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hawk72@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:55.615 response time in milliseconds: 1931
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:06 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:55",
  "timestamp": 1733512555,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bb2061de-92f6-4ad1-a768-040d14a2fc3b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125544956024104960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:55.617 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@119a38d1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:55.617 [print] Response: null 
0.001
* url apiURL 0.000
13:15:54.520 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.013
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.hawk93@live.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.010
13:15:54.530 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d54f57d3-3012-4467-8efb-7b23124fa4dc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 972.83,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.hawk93@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:56.535 response time in milliseconds: 2004
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:56",
  "timestamp": 1733512556,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d54f57d3-3012-4467-8efb-7b23124fa4dc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125553046356304976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:56.536 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1a43d025",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:56.536 [print] Response: null 
0.002
* url apiURL 0.000
13:15:55.104 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.401
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.wolf18@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.397
13:15:55.112 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "153ff426-d14b-4732-b39a-f64537689de2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 904.85,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.wolf18@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:57.505 response time in milliseconds: 2391
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:08 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:57",
  "timestamp": 1733512557,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "153ff426-d14b-4732-b39a-f64537689de2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125558096060904979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:57.508 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6015e294",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:57.509 [print] Response: null 
0.003
* url apiURL 0.000
13:15:55.231 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.686
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.wolf11@hotmail.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.683
13:15:55.241 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3d1fa5a6-1eed-46fd-bc22-888373e7155f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 9775.68,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.wolf11@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:56.921 response time in milliseconds: 1678
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:57",
  "timestamp": 1733512557,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3d1fa5a6-1eed-46fd-bc22-888373e7155f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125559536435804988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:56.923 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6436b0e6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:56.923 [print] Response: null 
0.003
* url apiURL 0.000
13:15:55.620 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.833
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "ryker.wolf14@yahoo.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.830
13:15:55.632 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "11b50c62-e603-466a-996e-d1c637afe3e9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 708.0,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.wolf14@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:57.458 response time in milliseconds: 1825
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:08 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:57",
  "timestamp": 1733512557,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "11b50c62-e603-466a-996e-d1c637afe3e9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125564086164504977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:57.459 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6c0cfc8f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:57.460 [print] Response: null 
0.001
* url apiURL 0.000
13:15:55.686 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.857
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.wolf97@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.854
13:15:55.694 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8c909e23-3a63-43bb-80d3-16b9ea098628",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 750.99,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.wolf97@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:57.544 response time in milliseconds: 1848
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:07 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:57",
  "timestamp": 1733512557,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8c909e23-3a63-43bb-80d3-16b9ea098628",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125564166457704975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:57.545 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@526c8599",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:57.546 [print] Response: null 
0.002
* url apiURL 0.000
13:15:56.540 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.945
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "ryker.wolf6@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.942
13:15:56.547 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d3339d2e-a06d-4b36-bfc2-8c3bc52e9432",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 47.7,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "ryker.wolf6@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:58.487 response time in milliseconds: 1938
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:58",
  "timestamp": 1733512558,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d3339d2e-a06d-4b36-bfc2-8c3bc52e9432",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125573496011004987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:58.488 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2cf03172",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:58.488 [print] Response: null 
0.001
* url apiURL 0.000
13:15:56.930 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.727
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "phoenix.black1@gmail.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.725
13:15:56.934 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5dcdb263-df7a-4a6d-80e5-0bb810ec405d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 34.95,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "phoenix.black1@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:58.658 response time in milliseconds: 1723
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:58",
  "timestamp": 1733512558,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5dcdb263-df7a-4a6d-80e5-0bb810ec405d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Valid Email from a  US Webmail  Domain",
    "ea_reason_id": "28",
    "ea_risk_band_id": "3",
    "ea_score": "499",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125577366358804976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:58.660 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2e3fbe3e",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:58.660 [print] Response: null 
0.001
* url apiURL 0.000
13:15:57.462 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.282
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "phoenix.black17@hotmail.com" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.277
13:15:57.468 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3d8cb2e3-c313-45cf-8e63-e3ce8ff02192",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 68.58,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "phoenix.black17@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:59.742 response time in milliseconds: 2273
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:59",
  "timestamp": 1733512559,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3d8cb2e3-c313-45cf-8e63-e3ce8ff02192",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335125584496083104984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:15:59.746 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1565"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@33aa8781",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.001
13:15:59.747 [print] Response: null 
0.001
* url apiURL 0.000
13:15:57.513 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.689
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "phoenix.black41@yahoo.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.683
13:15:57.520 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b535beea-47b2-4745-9ca0-fc10012cfd93",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 91.79,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "phoenix.black41@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:59.199 response time in milliseconds: 1677
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:59",
  "timestamp": 1733512559,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b535beea-47b2-4745-9ca0-fc10012cfd93",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125582576926304978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.001
13:15:59.203 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@401882b3",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:59.204 [print] Response: null 
0.001
* url apiURL 0.000
13:15:57.548 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.162
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "phoenix.black95@outlook.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.158
13:15:57.555 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "31b89c80-5822-4a2e-938e-3cb90df746ae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 769.78,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "phoenix.black95@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:15:59.710 response time in milliseconds: 2154
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:15:59",
  "timestamp": 1733512559,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "31b89c80-5822-4a2e-938e-3cb90df746ae",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125583976068204974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:15:59.712 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1566"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@69273b72",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:15:59.713 [print] Response: null 
0.000
* url apiURL 0.000
13:15:58.491 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.935
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "phoenix.black18@live.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.934
13:15:58.494 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "971bbd3d-3c6e-4ca7-a229-1b4cb89fcda4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 16.3,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "phoenix.black18@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:00.426 response time in milliseconds: 1931
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:00",
  "timestamp": 1733512560,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "971bbd3d-3c6e-4ca7-a229-1b4cb89fcda4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125592746928004978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:00.428 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1561"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@700940cb",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:00.428 [print] Response: null 
0.000
* url apiURL 0.000
13:15:58.662 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.764
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.black94@gmail.com" 0.000
* set peticion.client.name = "Ragnar" 0.000
* set peticion.client.maternal_surname = "Nocturne" 0.000
* set peticion.client.paternal_surname = "Nocturne" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.761
13:15:58.668 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5aafc3a8-54fa-44ea-8a46-b2695f54b9a2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 3598.19,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Ragnar",
    "paternal_surname": "Nocturne",
    "maternal_surname": "Nocturne",
    "email": "hunter.black94@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:00.426 response time in milliseconds: 1757
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:00",
  "timestamp": 1733512560,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5aafc3a8-54fa-44ea-8a46-b2695f54b9a2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Lower Fraud Risk",
    "ea_reason": "Email Created at least  9.3  Years Ago",
    "ea_reason_id": "14",
    "ea_risk_band_id": "1",
    "ea_score": "74",
    "email_exists": "Yes",
    "first_seen_days": "3400",
    "first_verification_date": "08/15/2015",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125593576852104985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:00.428 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6affc3b5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:00.428 [print] Response: null 
0.006
* url apiURL 0.000
13:15:59.236 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.206
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.black63@hotmail.com" 0.000
* set peticion.client.name = "Malice" 0.000
* set peticion.client.maternal_surname = "Crowley" 0.000
* set peticion.client.paternal_surname = "Crowley" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.202
13:15:59.253 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "30addb81-51a3-4c58-93ec-c4b0edecf0b2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 106.29,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Malice",
    "paternal_surname": "Crowley",
    "maternal_surname": "Crowley",
    "email": "hunter.black63@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:01.451 response time in milliseconds: 2197
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:01",
  "timestamp": 1733512561,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "30addb81-51a3-4c58-93ec-c4b0edecf0b2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125599366510404970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "64",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for review.",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "PENDING_REVIEW"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:01.452 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@45151bb9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:01.452 [print] Response: null 
0.002
* url apiURL 0.000
13:15:59.717 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.110
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.black51@yahoo.com" 0.000
* set peticion.client.name = "Voldemort" 0.000
* set peticion.client.maternal_surname = "Blackfang" 0.000
* set peticion.client.paternal_surname = "Blackfang" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.106
13:15:59.725 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "91c8bf2c-e306-48ef-97cb-307a8c7c649b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 43.53,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Voldemort",
    "paternal_surname": "Blackfang",
    "maternal_surname": "Blackfang",
    "email": "hunter.black51@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:01.829 response time in milliseconds: 2102
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:02",
  "timestamp": 1733512562,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "91c8bf2c-e306-48ef-97cb-307a8c7c649b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125604756178404973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:01.831 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1566"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@667a4fb1",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:01.832 [print] Response: null 
0.003
* url apiURL 0.000
13:15:59.752 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.978
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.black5@outlook.com" 0.000
* set peticion.client.name = "Zephyr" 0.000
* set peticion.client.maternal_surname = "Slade" 0.000
* set peticion.client.paternal_surname = "Slade" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.974
13:15:59.761 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9e50bd7e-f5a5-444d-af4e-d67bbb2849c9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 31.56,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Zephyr",
    "paternal_surname": "Slade",
    "maternal_surname": "Slade",
    "email": "hunter.black5@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:01.732 response time in milliseconds: 1969
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:02",
  "timestamp": 1733512562,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9e50bd7e-f5a5-444d-af4e-d67bbb2849c9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125604826953104990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:16:01.735 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@68280f7a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:01.735 [print] Response: null 
0.003
* url apiURL 0.000
13:16:00.446 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.923
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.black2@live.com" 0.000
* set peticion.client.name = "Kaine" 0.000
* set peticion.client.maternal_surname = "Malstorm" 0.000
* set peticion.client.paternal_surname = "Malstorm" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.920
13:16:00.459 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1cbb1a1c-7440-4fec-a4c2-487c3e1cba34",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 111.3,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Kaine",
    "paternal_surname": "Malstorm",
    "maternal_surname": "Malstorm",
    "email": "hunter.black2@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:02.374 response time in milliseconds: 1913
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:02",
  "timestamp": 1733512562,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1cbb1a1c-7440-4fec-a4c2-487c3e1cba34",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125612386016004987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:02.375 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4ab3645a",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:02.375 [print] Response: null 
0.005
* url apiURL 0.000
13:16:00.432 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.935
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.stone70@gmail.com" 0.000
* set peticion.client.name = "Astaroth" 0.000
* set peticion.client.maternal_surname = "Hellfire" 0.000
* set peticion.client.paternal_surname = "Hellfire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.932
13:16:00.445 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0404b934-68f2-4251-ac59-d542a2b60f29",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 362.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Astaroth",
    "paternal_surname": "Hellfire",
    "maternal_surname": "Hellfire",
    "email": "hunter.stone70@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:02.374 response time in milliseconds: 1927
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:02",
  "timestamp": 1733512562,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0404b934-68f2-4251-ac59-d542a2b60f29",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "158",
    "first_verification_date": "06/30/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125612716121604956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:02.375 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@29bb89de",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:02.376 [print] Response: null 
0.002
* url apiURL 0.000
13:16:01.458 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.844
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.stone78@hotmail.com" 0.000
* set peticion.client.name = "Savra" 0.000
* set peticion.client.maternal_surname = "Dread" 0.000
* set peticion.client.paternal_surname = "Dread" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.840
13:16:01.466 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d1a300af-ad5d-43fa-8a63-a9e5b9647ade",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 757.98,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Savra",
    "paternal_surname": "Dread",
    "maternal_surname": "Dread",
    "email": "hunter.stone78@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:03.304 response time in milliseconds: 1837
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:03",
  "timestamp": 1733512563,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d1a300af-ad5d-43fa-8a63-a9e5b9647ade",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125622336122804956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:03.306 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@48f8a321",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:03.307 [print] Response: null 
0.002
* url apiURL 0.000
13:16:01.739 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.966
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.stone60@yahoo.com" 0.000
* set peticion.client.name = "Lucifer" 0.000
* set peticion.client.maternal_surname = "Ashenvale" 0.000
* set peticion.client.paternal_surname = "Ashenvale" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.962
13:16:01.748 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9a64cf32-e672-49ba-8878-7461aa01f8f0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 75.59,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Lucifer",
    "paternal_surname": "Ashenvale",
    "maternal_surname": "Ashenvale",
    "email": "hunter.stone60@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:03.706 response time in milliseconds: 1956
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:14 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:03",
  "timestamp": 1733512563,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9a64cf32-e672-49ba-8878-7461aa01f8f0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125626026856104985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:03.708 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7226ed27",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:03.709 [print] Response: null 
0.001
* url apiURL 0.000
13:16:01.837 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.519
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.stone19@outlook.com" 0.000
* set peticion.client.name = "Mordred" 0.000
* set peticion.client.maternal_surname = "Darkwhisper" 0.000
* set peticion.client.paternal_surname = "Darkwhisper" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.517
13:16:01.843 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1570
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "990f2235-ad42-43ef-b5f8-7f631524af78",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 63.45,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Mordred",
    "paternal_surname": "Darkwhisper",
    "maternal_surname": "Darkwhisper",
    "email": "hunter.stone19@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:04.358 response time in milliseconds: 2514
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:14 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:04",
  "timestamp": 1733512564,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "990f2235-ad42-43ef-b5f8-7f631524af78",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125625556932004978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:04.360 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1570"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@55c59bdb",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:04.360 [print] Response: null 
0.001
* url apiURL 0.000
13:16:02.379 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.556
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.stone49@live.com" 0.000
* set peticion.client.name = "Cruor" 0.000
* set peticion.client.maternal_surname = "Darkbane" 0.000
* set peticion.client.paternal_surname = "Darkbane" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.553
13:16:02.387 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4737f6d5-c7ac-4ead-9f59-6eae372c3d8c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 326.33,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Cruor",
    "paternal_surname": "Darkbane",
    "maternal_surname": "Darkbane",
    "email": "hunter.stone49@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:04.935 response time in milliseconds: 2546
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:05",
  "timestamp": 1733512565,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4737f6d5-c7ac-4ead-9f59-6eae372c3d8c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125631716034204960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:04.937 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2822e910",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:04.938 [print] Response: null 
0.001
* url apiURL 0.000
13:16:02.379 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.556
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost55@gmail.com" 0.000
* set peticion.client.name = "Leviathan" 0.000
* set peticion.client.maternal_surname = "Noire" 0.000
* set peticion.client.paternal_surname = "Noire" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.553
13:16:02.386 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5a07707b-aae0-478c-8b5a-4b15a26ef1ae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 32.72,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Leviathan",
    "paternal_surname": "Noire",
    "maternal_surname": "Noire",
    "email": "hunter.frost55@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:04.935 response time in milliseconds: 2546
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:05",
  "timestamp": 1733512565,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5a07707b-aae0-478c-8b5a-4b15a26ef1ae",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125631736213504953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:04.937 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7ea0eb73",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:04.938 [print] Response: null 
0.001
* url apiURL 0.000
13:16:03.313 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.545
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost55@hotmail.com" 0.000
* set peticion.client.name = "Abyss" 0.000
* set peticion.client.maternal_surname = "Reaver" 0.000
* set peticion.client.paternal_surname = "Reaver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.542
13:16:03.317 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5a66c960-0c07-4b4f-8a2e-b40c75e34674",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 347.9,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Abyss",
    "paternal_surname": "Reaver",
    "maternal_surname": "Reaver",
    "email": "hunter.frost55@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:05.857 response time in milliseconds: 2537
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:16 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:06",
  "timestamp": 1733512566,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5a66c960-0c07-4b4f-8a2e-b40c75e34674",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125641106019004987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:05.859 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1558"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@77a52e20",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:05.860 [print] Response: null 
0.001
* url apiURL 0.000
13:16:03.713 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.934
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost62@yahoo.com" 0.000
* set peticion.client.name = "Umbra" 0.000
* set peticion.client.maternal_surname = "Draven" 0.000
* set peticion.client.paternal_surname = "Draven" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.932
13:16:03.720 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4b284048-6b4a-4a3b-a7c1-b872b803fabb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 382.78,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Umbra",
    "paternal_surname": "Draven",
    "maternal_surname": "Draven",
    "email": "hunter.frost62@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:05.648 response time in milliseconds: 1928
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:16 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:05",
  "timestamp": 1733512565,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4b284048-6b4a-4a3b-a7c1-b872b803fabb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125646076090204984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:05.649 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@26d4c31f",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:05.649 [print] Response: null 
0.000
* url apiURL 0.000
13:16:04.362 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.209
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost63@outlook.com" 0.000
* set peticion.client.name = "Azazel" 0.000
* set peticion.client.maternal_surname = "Graver" 0.000
* set peticion.client.paternal_surname = "Graver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.206
13:16:04.368 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1560
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "03f4c5a6-ec05-4e6d-b6e2-70142bca9de7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 497.86,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Azazel",
    "paternal_surname": "Graver",
    "maternal_surname": "Graver",
    "email": "hunter.frost63@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:06.571 response time in milliseconds: 2202
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:06",
  "timestamp": 1733512566,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "03f4c5a6-ec05-4e6d-b6e2-70142bca9de7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125650816725404980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:06.573 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1560"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@a9f86a0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:06.573 [print] Response: null 
0.001
* url apiURL 0.000
13:16:04.942 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.936
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.frost81@live.com" 0.000
* set peticion.client.name = "Vassago" 0.000
* set peticion.client.maternal_surname = "Acheron" 0.000
* set peticion.client.paternal_surname = "Acheron" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.934
13:16:04.946 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "142a8ffd-76c6-4639-8e75-6d1f96e69234",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 71.57,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Vassago",
    "paternal_surname": "Acheron",
    "maternal_surname": "Acheron",
    "email": "hunter.frost81@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:06.879 response time in milliseconds: 1931
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:07",
  "timestamp": 1733512567,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "142a8ffd-76c6-4639-8e75-6d1f96e69234",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125657516216804953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:06.881 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4e0db228",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:06.881 [print] Response: null 
0.001
* url apiURL 0.000
13:16:04.942 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.660
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.steel99@gmail.com" 0.000
* set peticion.client.name = "Vesper" 0.000
* set peticion.client.maternal_surname = "Grimm" 0.000
* set peticion.client.paternal_surname = "Grimm" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.657
13:16:04.947 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aa598cd4-8387-408b-a567-3ad181bdb33d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 331.77,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Vesper",
    "paternal_surname": "Grimm",
    "maternal_surname": "Grimm",
    "email": "hunter.steel99@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:06.602 response time in milliseconds: 1652
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:06",
  "timestamp": 1733512566,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "aa598cd4-8387-408b-a567-3ad181bdb33d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125657136931204989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:06.604 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@15e33360",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:06.605 [print] Response: null 
0.000
* url apiURL 0.000
13:16:05.652 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.840
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.steel74@hotmail.com" 0.000
* set peticion.client.name = "Ignis" 0.000
* set peticion.client.maternal_surname = "Grimwald" 0.000
* set peticion.client.paternal_surname = "Grimwald" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.837
13:16:05.657 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9bab0964-15f0-4cf9-96da-1c1078b8a415",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 669.44,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Ignis",
    "paternal_surname": "Grimwald",
    "maternal_surname": "Grimwald",
    "email": "hunter.steel74@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:07.492 response time in milliseconds: 1835
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:07",
  "timestamp": 1733512567,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9bab0964-15f0-4cf9-96da-1c1078b8a415",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125663726370004976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:07.494 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@306c3c67",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:07.495 [print] Response: null 
0.006
* url apiURL 0.000
13:16:05.866 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.005
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.719
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.015
* set peticion.client.email = "hunter.steel68@yahoo.com" 0.000
* set peticion.client.name = "Cobra" 0.000
* set peticion.client.maternal_surname = "Crimson" 0.000
* set peticion.client.paternal_surname = "Crimson" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.701
13:16:05.894 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "84860a69-3cc2-4ef1-b109-474f3c2c68ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 711.28,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Cobra",
    "paternal_surname": "Crimson",
    "maternal_surname": "Crimson",
    "email": "hunter.steel68@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:07.591 response time in milliseconds: 1696
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:07",
  "timestamp": 1733512567,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "84860a69-3cc2-4ef1-b109-474f3c2c68ef",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125665876932204989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:07.593 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@36a76eb9",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:07.593 [print] Response: null 
0.001
* url apiURL 0.000
13:16:06.575 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.735
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.steel65@outlook.com" 0.000
* set peticion.client.name = "Morgoth" 0.000
* set peticion.client.maternal_surname = "Blackthorn" 0.000
* set peticion.client.paternal_surname = "Blackthorn" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.733
13:16:06.580 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1569
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "17370e77-8a58-48bf-9c53-1e4d6ca18228",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 268.46,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Morgoth",
    "paternal_surname": "Blackthorn",
    "maternal_surname": "Blackthorn",
    "email": "hunter.steel65@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:09.310 response time in milliseconds: 2729
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:09",
  "timestamp": 1733512569,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "17370e77-8a58-48bf-9c53-1e4d6ca18228",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125678796178204977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:09.312 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1569"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@4ce07fb6",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:09.312 [print] Response: null 
0.000
* url apiURL 0.000
13:16:06.608 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.319
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.steel71@live.com" 0.000
* set peticion.client.name = "Baron" 0.000
* set peticion.client.maternal_surname = "Grimmore" 0.000
* set peticion.client.paternal_surname = "Grimmore" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.317
13:16:06.612 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1559
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "751993d7-2f16-49d7-83cb-8958521de640",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 14.68,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Baron",
    "paternal_surname": "Grimmore",
    "maternal_surname": "Grimmore",
    "email": "hunter.steel71@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:08.927 response time in milliseconds: 2314
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:09",
  "timestamp": 1733512569,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "751993d7-2f16-49d7-83cb-8958521de640",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125679736129904956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:08.929 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1559"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@227e6455",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:08.929 [print] Response: null 
0.003
* url apiURL 0.000
13:16:06.892 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.108
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight27@gmail.com" 0.000
* set peticion.client.name = "Thanos" 0.000
* set peticion.client.maternal_surname = "Blake" 0.000
* set peticion.client.paternal_surname = "Blake" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.105
13:16:06.915 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "56de0ee5-4cc5-4a83-9795-292e87ac38ec",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 281.94,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Thanos",
    "paternal_surname": "Blake",
    "maternal_surname": "Blake",
    "email": "hunter.knight27@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:09.004 response time in milliseconds: 2088
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:09",
  "timestamp": 1733512569,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "56de0ee5-4cc5-4a83-9795-292e87ac38ec",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125677296059604986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:09.006 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@50ca8e3c",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:09.006 [print] Response: null 
0.001
* url apiURL 0.000
13:16:07.500 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.642
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight35@hotmail.com" 0.000
* set peticion.client.name = "Arioch" 0.000
* set peticion.client.maternal_surname = "Crow" 0.000
* set peticion.client.paternal_surname = "Crow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.633
13:16:07.505 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a1996870-d224-4ba4-b9a4-ab8a6a920e91",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 8797.9,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Arioch",
    "paternal_surname": "Crow",
    "maternal_surname": "Crow",
    "email": "hunter.knight35@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:09.137 response time in milliseconds: 1625
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:09",
  "timestamp": 1733512569,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a1996870-d224-4ba4-b9a4-ab8a6a920e91",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125681826080304974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:16:09.139 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7c431b4b",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.006
13:16:09.145 [print] Response: null 
0.003
* url apiURL 0.000
13:16:07.601 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.893
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight24@yahoo.com" 0.000
* set peticion.client.name = "Nemesis" 0.000
* set peticion.client.maternal_surname = "Moriarty" 0.000
* set peticion.client.paternal_surname = "Moriarty" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.889
13:16:07.610 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b5142302-7ef7-4fad-b5ae-abb333561e9b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 801.8,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Nemesis",
    "paternal_surname": "Moriarty",
    "maternal_surname": "Moriarty",
    "email": "hunter.knight24@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:09.497 response time in milliseconds: 1884
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:09",
  "timestamp": 1733512569,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b5142302-7ef7-4fad-b5ae-abb333561e9b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125684106772204983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.001
* print 'Request:', karate.prevRequest 0.000
13:16:09.500 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@f020c36",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:09.500 [print] Response: null 
0.001
* url apiURL 0.000
13:16:08.937 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.331
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight79@outlook.com" 0.000
* set peticion.client.name = "Riddle" 0.000
* set peticion.client.maternal_surname = "Gravesend" 0.000
* set peticion.client.paternal_surname = "Gravesend" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.327
13:16:08.943 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1567
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dca35e7d-5452-4dbb-8793-d0ab88573325",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 976.62,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Riddle",
    "paternal_surname": "Gravesend",
    "maternal_surname": "Gravesend",
    "email": "hunter.knight79@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:11.268 response time in milliseconds: 2318
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:11",
  "timestamp": 1733512571,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "dca35e7d-5452-4dbb-8793-d0ab88573325",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125696236131704956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:16:11.271 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1567"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@156d87ac",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:11.271 [print] Response: null 
0.003
* url apiURL 0.000
13:16:09.009 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.860
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.knight57@live.com" 0.001
* set peticion.client.name = "Erebus" 0.000
* set peticion.client.maternal_surname = "Gorefiend" 0.000
* set peticion.client.paternal_surname = "Gorefiend" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.856
13:16:09.020 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "15b1a3c7-e809-4be8-829c-58f4e060b09e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 66.05,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Erebus",
    "paternal_surname": "Gorefiend",
    "maternal_surname": "Gorefiend",
    "email": "hunter.knight57@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:10.872 response time in milliseconds: 1851
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:11",
  "timestamp": 1733512571,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "15b1a3c7-e809-4be8-829c-58f4e060b09e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125699166730904980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:10.874 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1563"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6e9d8dd4",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:10.874 [print] Response: null 
0.002
* url apiURL 0.000
13:16:09.170 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.809
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.raven90@gmail.com" 0.000
* set peticion.client.name = "Wraith" 0.013
* set peticion.client.maternal_surname = "Bloodmoon" 0.000
* set peticion.client.paternal_surname = "Bloodmoon" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.791
13:16:09.209 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e4185479-5c31-4d8e-8112-04a5ef7c70f5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 674.42,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Wraith",
    "paternal_surname": "Bloodmoon",
    "maternal_surname": "Bloodmoon",
    "email": "hunter.raven90@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:10.980 response time in milliseconds: 1768
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:11",
  "timestamp": 1733512571,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e4185479-5c31-4d8e-8112-04a5ef7c70f5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125699176933604982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:16:10.983 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1564"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@520ce634",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:10.983 [print] Response: null 
0.003
* url apiURL 0.000
13:16:09.319 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.055
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.raven55@hotmail.com" 0.000
* set peticion.client.name = "Silas" 0.000
* set peticion.client.maternal_surname = "Thornheart" 0.000
* set peticion.client.paternal_surname = "Thornheart" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.051
13:16:09.329 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9a2ad477-55d0-473d-bac5-e0bb4ffe77a4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 29.19,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Silas",
    "paternal_surname": "Thornheart",
    "maternal_surname": "Thornheart",
    "email": "hunter.raven55@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:11.378 response time in milliseconds: 2047
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:11",
  "timestamp": 1733512571,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9a2ad477-55d0-473d-bac5-e0bb4ffe77a4",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125702446096504984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:11.379 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1566"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@7d60da04",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:11.380 [print] Response: null 
0.001
* url apiURL 0.000
13:16:09.504 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.685
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.raven49@yahoo.com" 0.000
* set peticion.client.name = "Scylla" 0.000
* set peticion.client.maternal_surname = "Eldergloom" 0.000
* set peticion.client.paternal_surname = "Eldergloom" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.681
13:16:09.510 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "27fd9bff-0724-4605-9ec0-4b109e67cf0f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 844.96,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Scylla",
    "paternal_surname": "Eldergloom",
    "maternal_surname": "Eldergloom",
    "email": "hunter.raven49@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:11.188 response time in milliseconds: 1676
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:11",
  "timestamp": 1733512571,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "27fd9bff-0724-4605-9ec0-4b109e67cf0f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125702496472404975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:11.191 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1566"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@5ba7b4d5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:11.191 [print] Response: null 
0.002
* url apiURL 0.000
13:16:10.879 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.835
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.raven65@outlook.com" 0.000
* set peticion.client.name = "Magneto" 0.000
* set peticion.client.maternal_surname = "Raventhorn" 0.000
* set peticion.client.paternal_surname = "Raventhorn" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.832
13:16:10.885 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1569
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d30e3183-157a-4d3c-aa07-c6b641740a5a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 592.94,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Magneto",
    "paternal_surname": "Raventhorn",
    "maternal_surname": "Raventhorn",
    "email": "hunter.raven65@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:12.716 response time in milliseconds: 1829
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:12",
  "timestamp": 1733512572,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d30e3183-157a-4d3c-aa07-c6b641740a5a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125715596732804980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:12.717 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1569"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@daf47dc",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:12.718 [print] Response: null 
0.001
* url apiURL 0.000
13:16:10.990 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.789
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.raven5@live.com" 0.001
* set peticion.client.name = "Medusa" 0.000
* set peticion.client.maternal_surname = "Redthorne" 0.000
* set peticion.client.paternal_surname = "Redthorne" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.785
13:16:10.998 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "56cdc483-ce01-4ed5-a162-6523fa2f9a0b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 531.37,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Medusa",
    "paternal_surname": "Redthorne",
    "maternal_surname": "Redthorne",
    "email": "hunter.raven5@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:12.780 response time in milliseconds: 1780
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:13",
  "timestamp": 1733512573,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "56cdc483-ce01-4ed5-a162-6523fa2f9a0b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125717576776204983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.001
13:16:12.783 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@24280840",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:12.783 [print] Response: null 
0.001
* url apiURL 0.000
13:16:11.196 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.876
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.storm88@gmail.com" 0.000
* set peticion.client.name = "Shade" 0.000
* set peticion.client.maternal_surname = "Shadeweaver" 0.000
* set peticion.client.paternal_surname = "Shadeweaver" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.873
13:16:11.206 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1567
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a9d0e188-d32d-4127-a59f-100c6f74e528",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 411.02,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Shade",
    "paternal_surname": "Shadeweaver",
    "maternal_surname": "Shadeweaver",
    "email": "hunter.storm88@gmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:14.072 response time in milliseconds: 2865
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:14",
  "timestamp": 1733512574,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a9d0e188-d32d-4127-a59f-100c6f74e528",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/13/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10708",
    "domain_exists": "Yes",
    "domain_name": "gmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125720966098304984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:14.074 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1567"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@6b81acd5",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:14.074 [print] Response: null 
0.004
* url apiURL 0.000
13:16:11.295 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.061
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.storm77@hotmail.com" 0.015
* set peticion.client.name = "Gorgon" 0.001
* set peticion.client.maternal_surname = "Vossler" 0.000
* set peticion.client.paternal_surname = "Vossler" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.040
13:16:11.325 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1562
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fb26096c-5849-4876-80e0-99abb131231c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 618.74,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Gorgon",
    "paternal_surname": "Vossler",
    "maternal_surname": "Vossler",
    "email": "hunter.storm77@hotmail.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:13.360 response time in milliseconds: 2034
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:13",
  "timestamp": 1733512573,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fb26096c-5849-4876-80e0-99abb131231c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "03/26/1996",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10481",
    "domain_exists": "Yes",
    "domain_name": "hotmail.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Data Entry Review",
    "ea_reason": "Email does not exist",
    "ea_reason_id": "2",
    "ea_risk_band_id": "4",
    "ea_score": "709",
    "email_exists": "No",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125721106776804983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:13.363 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1562"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@26228da0",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:13.363 [print] Response: null 
0.007
* url apiURL 0.000
13:16:11.389 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.005
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
2.340
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.storm34@yahoo.com" 0.000
* set peticion.client.name = "Grendel" 0.000
* set peticion.client.maternal_surname = "Sable" 0.000
* set peticion.client.paternal_surname = "Sable" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.337
13:16:11.406 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9337725a-126e-4b6a-aaa2-4590cb2e0461",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 168.45,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Grendel",
    "paternal_surname": "Sable",
    "maternal_surname": "Sable",
    "email": "hunter.storm34@yahoo.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:13.738 response time in milliseconds: 2331
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:13",
  "timestamp": 1733512573,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9337725a-126e-4b6a-aaa2-4590cb2e0461",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "01/18/1995",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10915",
    "domain_exists": "Yes",
    "domain_name": "yahoo.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125725876045104960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:13.738 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1557"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@42e0d0ae",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:13.738 [print] Response: null 
0.003
* url apiURL 0.000
13:16:12.721 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.937
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.001
* set peticion.client.email = "hunter.storm2@outlook.com" 0.001
* set peticion.client.name = "Scar" 0.000
* set peticion.client.maternal_surname = "Hallow" 0.000
* set peticion.client.paternal_surname = "Hallow" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.932
13:16:12.734 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "70845b59-6ddb-4c68-b3fd-692d1a8a80ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 54.19,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Scar",
    "paternal_surname": "Hallow",
    "maternal_surname": "Hallow",
    "email": "hunter.storm2@outlook.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:14.661 response time in milliseconds: 1926
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:25 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:14",
  "timestamp": 1733512574,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "70845b59-6ddb-4c68-b3fd-692d1a8a80ef",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "08/17/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "11068",
    "domain_exists": "Yes",
    "domain_name": "outlook.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Yes",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125735256868604985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:14.662 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1556"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@2a46e435",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:14.663 [print] Response: null 
0.001
* url apiURL 0.000
13:16:12.787 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* def dataGenerator = Java.type('claroscore.features.data.DataGenerator') 0.000
* requestBody.transaction_id = uuid 0.000
1.873
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = dataGenerator.getRandomAmount() 0.000
* set peticion.client.email = "hunter.storm96@live.com" 0.000
* set peticion.client.name = "Lucius" 0.000
* set peticion.client.maternal_surname = "Deathwhisper" 0.000
* set peticion.client.paternal_surname = "Deathwhisper" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.871
13:16:12.792 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1569
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "24e3b304-be8e-4c41-81ef-75aeca211d4d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 278.66,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Lucius",
    "paternal_surname": "Deathwhisper",
    "maternal_surname": "Deathwhisper",
    "email": "hunter.storm96@live.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:14.661 response time in milliseconds: 1868
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:25 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:14",
  "timestamp": 1733512574,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "24e3b304-be8e-4c41-81ef-75aeca211d4d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/27/1994",
    "domain_category": "Webmail",
    "domain_corporate": "No",
    "domain_creation_days": "10936",
    "domain_exists": "Yes",
    "domain_name": "live.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Limited History for Email",
    "ea_reason_id": "8",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "1",
    "first_verification_date": "12/04/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125735496892804981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Free e-mail provider",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
And match response.profile_name[0] == "Perfil De prueba" 0.000
* print 'Request:', karate.prevRequest 0.000
13:16:14.662 [print] Request: {
  "headers": {
    "Content-Type": [
      "application/json; charset=UTF-8"
    ],
    "Content-Length": [
      "1569"
    ],
    "Host": [
      "beta-api.dev.t1score.com"
    ],
    "Connection": [
      "Keep-Alive"
    ],
    "User-Agent": [
      "Apache-HttpClient/4.5.14 (Java/17.0.13)"
    ],
    "Accept-Encoding": [
      "gzip,deflate"
    ]
  },
  "method": "POST",
  "body": "[B@1014ca7",
  "url": "https://beta-api.dev.t1score.com/v1/engine/evaluations"
}
 
* print 'Response:', karate.prevResponse 0.000
13:16:14.663 [print] Response: null